home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / docs / inter45a / interrup.a < prev    next >
Encoding:
Text File  |  1995-03-26  |  349.0 KB  |  9,041 lines

  1. Interrupt List        Release 45            Last change 3/26/95
  2. This compilation is Copyright (c) 1989,1990,1991,1992,1993,1994,1995 Ralf Brown
  3. --------!---FILELIST-------------------------
  4. Please redistribute the following files unmodified as a group, in a quartet of
  5. archives named INTER45A through INTER45D (preferably the original authenticated
  6. PKZIP archives):
  7.     INTERRUP.1ST    the read-me file, containing credits, availability info
  8.     INTERRUP.A    INT 00 through INT 13/3F  \
  9.     INTERRUP.B    INT 13/40 through INT 15/5F\
  10.     INTERRUP.C    INT 15/60 through INT 1A/AF \  
  11.     INTERRUP.D    INT 1A/B0 through INT 21/44  \     total 1755 pages at
  12.     INTERRUP.E    INT 21/45 through INT 21/BF   \     60 lines per page,
  13.     INTERRUP.F    INT 21/C0 through INT 2D       > 1869 with INTPRINT -p
  14.     INTERRUP.G    INT 2E through INT 2F/79      /     (7056 entries)
  15.     INTERRUP.H    INT 2F/7A through INT 2F/FD  /     (2617 tables)
  16.     INTERRUP.I    INT 2F/FE through INT 60    /
  17.     INTERRUP.J    INT 61 through INT 67       /
  18.     INTERRUP.K    INT 68 through INT 7E      /
  19.     INTERRUP.L    INT 7F through INT FF     /
  20.     INTERRUP.PRI    a brief introduction to interrupts
  21.     INTPRINT.COM    a simple formatter that also generates a list summary
  22.     INTPRINT.DOC    instructions for INTPRINT
  23.     OVERVIEW.LST    brief listing of major uses of each interrupt
  24.     86BUGS.LST    a listing of CPU bugs and undocumented features
  25.     CMOS.LST    a description of the CMOS RAM data bytes
  26.     FARCALL.LST    APIs available through FAR CALLs
  27.     GLOSSARY.LST    a glossary of terms, abbreviations, and acronyms
  28.     MEMORY.LST    format of the BIOS data area
  29.     OPCODES.LST    a listing of recent and undocumented CPU instructions
  30.     PORTS.LST    a listing of I/O ports
  31.     CATEGORY.KEY    descriptions of divider-line category letters
  32.     COMBINE.BAT    combine the pieces of the list into a single file
  33. The following files should be distributed in an archive called INTER45E:
  34.     86BUGSnn.ZIP    programs to test for CPU bugs
  35.     INT.*        invoke interrupts from commandline
  36.     INT2GUID.*    convert list into TurboPower GUIDE or POPHELP database
  37.     INT2QH.*    program to convert list into QuickHelp database
  38.     INT2WHLP.*    convert list into Windows Help database
  39.     INTERVUE.EXE    indexed interrupt list browser
  40.     INTHLP??.ZIP    Interrupt Helper viewer for the interrupt list
  41.     INTHELP.*    convert list into TurboPower GUIDE database
  42.     INTLIST.E    Epsilon extension for handling list
  43.     INTLIST.ICO    Windows icon for INTERVUE
  44.     INTPRINT.C    source code for INTPRINT
  45.     IV.BAT        wrapper for INTERVUE
  46.     RB2NGnnn.*    convert list into Norton Guides database
  47. --------!---CONTACT_INFO---------------------
  48. If you notice any mistakes or omissions, please let me know!  It is only with
  49. YOUR help that the list can continue to grow at the current rate.  Please send
  50. all changes to me rather than distributing a modified version of the list.
  51.  
  52. Please read the file INTERRUP.1ST before asking me any questions.  You may find
  53. that they have already been addressed.
  54.  
  55.      Ralf Brown
  56.  
  57. Internet: ralf@telerama.lm.com
  58. UUCP: {uunet,harvard}!telerama.lm.com!ralf
  59. FIDO: Ralf Brown 1:129/26.1
  60.     or post a message to me in the DR_DEBUG echo (I probably won't see it
  61.     unless you address it to me)
  62. CIS:  >INTERNET:ralf@telerama.lm.com
  63.  
  64. I reply to all e-mail submissions and inquiries, but some of my replies bounce
  65. because of bad return paths.  If you don't get a response from me within a
  66. reasonable period of time, send it again with a better return path (starting at
  67. harvard or ucbvax for UUCP, from the Internet for others).
  68. --------!------------------------------------
  69. See INTERRUP.1ST for the key to system abbreviations and a list of the
  70. trademarks mentioned here.
  71. --------!---DISCLAIMER-----------------------
  72. DISCLAIMER:  THIS MATERIAL IS PROVIDED "AS IS".     I verify the information
  73. contained in this list to the best of my ability, but I cannot be held
  74. responsible for any problems caused by use or misuse of the information,
  75. especially for those functions not officially documented.  If it is marked
  76. "internal" or undocumented, you should check it carefully to make sure it
  77. works the same way in your version of the software (and please let me know
  78. whether or not it works the same way).    Information marked with "???" is
  79. known to be incomplete or guesswork.
  80. --------!---FLAGS----------------------------
  81. The use of -> instead of = signifies that the indicated register or register
  82. pair contains a pointer to the specified item, rather than the item itself.
  83. One or more letters may follow the interrupt number; they have the following
  84. meanings:  U - undocumented function, u - partially documented function,
  85. P - available only in protected mode, R - available only in real or V86 mode,
  86. C - callout or callback (usually hooked rather than called),
  87. O - obsolete (no longer present in current versions)
  88. --------!---CATEGORIES-----------------------
  89. The ninth column of the divider line preceding an entry usually contains a
  90. classification code (the entry has not been classified if that character is
  91. a dash).  The codes currently in use are:
  92.     A - applications, a - access software (screen readers, etc),
  93.     B - BIOS, b - vendor-specific BIOS extensions,
  94.     C - CPU-generated, c - caches/spoolers,
  95.     D - DOS kernel, d - disk I/O enhancements,
  96.     E - DOS extenders, e - electronic mail, F - FAX,
  97.     f - file manipulation, G - debuggers/debugging tools, g - games,
  98.     H - hardware, h - vendor-specific hardware,
  99.     I - IBM workstation/terminal emulators, i - system info/monitoring
  100.     J - Japanese, j - joke programs,
  101.     K - keyboard enhancers, k - file/disk compression,
  102.     l - shells/command interpreters,
  103.     M - mouse/pointing device, m - memory management,
  104.     N - network, n - non-traditional input devices,
  105.     O - other operating systems,
  106.     P - printer enhancements, p - power management,
  107.     Q - DESQview/TopView and Quarterdeck programs,
  108.     R - remote control/file access, r - runtime support,
  109.     S - serial I/O, s - sound/speech,
  110.     T - DOS-based task switchers/multitaskers, t - TSR libraries
  111.     U - resident utilities, u - emulators,
  112.     V - video, v - virus/antivirus,
  113.     W - MS Windows, X - expansion bus BIOSes,
  114.     y - security, * - reserved (and not otherwise classified)
  115. --------C-00---------------------------------
  116. INT 00 C - CPU-generated - DIVIDE ERROR
  117. Desc:    generated if the divisor of a DIV or IDIV instruction is zero or the
  118.       quotient overflows the result register; DX and AX will be unchanged.
  119. Notes:    on an 8086/8088, the return address points to the following instruction
  120.     on an 80286+, the return address points to the divide instruction
  121.     an 8086/8088 will generate this interrupt if the result of a division
  122.       is 80h (byte) or 8000h (word)
  123. SeeAlso: INT 04
  124. --------G-00---------------------------------
  125. INT 00 - Zenith - ROM DEBUGGER
  126. Desc:    invokes the ROM Debugger when at the BIOS level; equivalent to
  127.       pressing Ctrl-Alt-Ins on booting.
  128. Note:    since DOS revectors INT 00, it is necessary to restore this vector to
  129.       its original ROM BIOS value in order to invoke the debugger once DOS
  130.       loads
  131. SeeAlso: INT 03"Columbia"
  132. --------C-01---------------------------------
  133. INT 01 C - CPU-generated - SINGLE STEP
  134. Desc:    generated after each instruction if TF (trap flag) is set; TF is
  135.       cleared on invoking the single-step interrupt handler
  136. Notes:    interrupts are prioritized such that external interrupts are invoked
  137.       after the INT 01 pushes CS:IP/FLAGS and clears TF, but before the
  138.       first instruction of the handler executes
  139.     used by debuggers for single-instruction execution tracing, such as
  140.       MS-DOS DEBUG's T command
  141. SeeAlso: INT 03
  142. --------C-01---------------------------------
  143. INT 01 C - CPU-generated (80386+) - DEBUGGING EXCEPTIONS
  144. Desc:    generated by the CPU on various occurrences which may be of interest
  145.       to a debugger program
  146. Note:    events which may trigger the interrupt:
  147.       Instruction address breakpoint fault - will return to execute inst
  148.       Data address breakpoint trap - will return to following instruction
  149.       General detect fault, debug registers in use
  150.       Task-switch breakpoint trap
  151.       undocumented 386/486 opcode F1h - will return to following instruc
  152. SeeAlso: INT 03
  153. --------H-02---------------------------------
  154. INT 02 C - external hardware - NON-MASKABLE INTERRUPT
  155. Desc:    generated by the CPU when the input to the NMI pin is asserted
  156. Notes:    return address points to start of interrupted instruction on 80286+
  157.     on the 80286+, further NMIs are disabled until the next IRET
  158.       instruction, but one additional NMI is remembered by the hardware
  159.       and will be serviced after the IRET instruction reenables NMIs
  160.     maskable interrupts may interrupt the NMI handler if interrupts are
  161.       enabled
  162.     although the Intel documentation states that this interrupt is
  163.       typically used for power-failure procedures, it has many other uses
  164.       on IBM-compatible machines:
  165.         Memory parity error: all except Jr, CONV, and some machines
  166.                   without memory parity
  167.         Breakout switch on hardware debuggers
  168.         Coprocessor interrupt: all except Jr and CONV
  169.         Keyboard interrupt: Jr, CONV
  170.         I/O channel check: CONV, PS50+
  171.         Disk-controller power-on request: CONV
  172.         System suspend: CONV
  173.         Real-time clock: CONV
  174.         System watch-dog timer, time-out interrupt: PS50+
  175.         DMA timer time-out interrupt: PS50+
  176.         Low battery: HP 95LX
  177.         Module pulled: HP 95LX
  178. --------C-03---------------------------------
  179. INT 03 C - CPU-generated - BREAKPOINT
  180. Desc:    generated by the one-byte breakpoint instruction (opcode CCh)
  181. Notes:    used by debuggers to implement breakpoints, such as MS-DOS DEBUG's G
  182.       command
  183.     also used by Turbo Pascal versions 1,2,3 when {$U+} specified
  184.     return address points to byte following the breakpoint instruction
  185. SeeAlso: INT 01
  186. --------G-03---------------------------------
  187. INT 03 - Columbia PCs (desktop,VP portables) - ROM DEBUGGER
  188. Desc:    invokes the ROM Debugger if INT 03 has not been revectored; equivalent
  189.       to pressing Esc on booting.
  190. SeeAlso: INT 00"Zenith",INT 03"Realia"
  191. --------G-03---------------------------------
  192. INT 03 - Realia COBOL - DEBUGGER SUPPORT
  193. Note:    Realia COBOL checks for a signature eight bytes prior to the interrupt
  194.       handler when it starts up
  195. BUG:    if the offset of the INT 03 vector is less than 8, the compiler and
  196.       all executables generated by it will crash the system
  197. SeeAlso: INT 03"Columbia"
  198. --------G-03---------------------------------
  199. INT 03 U - Watcom WVIDEO, Watcom WD - OUTPUT DEBUGGING MESSAGE
  200.     STACK:    DWORD    selector
  201.         DWORD    offset of ASCIZ message to display
  202. Notes:    the INT 03h instruction which invokes the debugger must be followed by
  203.       a JMP SHORT and the signature string "WVIDEO"
  204.     to check whether this interface is available, define a public byte
  205.       variable named ___WD_Present, which the debugger will set to 01h
  206.       before running the program
  207. SeeAlso: AX=0910h
  208. --------G-030910-----------------------------
  209. INT 03 - Soft-ICE - BACK DOOR COMMANDS - DISPLAY STRING IN Soft-ICE WINDOW
  210.     AX = 0910h
  211.     SI = magic value 4647h ('FG')
  212.     DI = magic value 4A4Dh ('JM')
  213.     DS:DX -> ASCIZ string to display (max 100 bytes, 0Dh OK)
  214. Program: Soft-ICE is a debugger by Nu-Mega Technologies, Inc.
  215. SeeAlso: INT 03"WVIDEO"
  216. --------G-030911-----------------------------
  217. INT 03 - Soft-ICE - BACK DOOR COMMANDS - EXECUTE Soft-ICE COMMAND
  218.     AX = 0911h
  219.     SI = magic value 4647h ('FG')
  220.     DI = magic value 4A4Dh ('JM')
  221.     DS:DX -> ASCIZ command string (max 100 bytes, 0Dh OK)
  222. --------G-030912-----------------------------
  223. INT 03 - Soft-ICE - BACK DOOR COMMANDS - GET BREAKPOINT INFORMATION
  224.     AX = 0912h
  225.     SI = magic value 4647h ('FG')
  226.     DI = magic value 4A4Dh ('JM')
  227. Return: BH = entry number of last breakpoint set
  228.     BL = type of last breakpoint set (see #0001)
  229.     DH = entry number of last breakpoint to be triggered
  230.     DL = type of last triggered breakpoint (see #0001)
  231. Program: Soft-ICE is a debugger by Nu-Mega Technologies, Inc.
  232. SeeAlso: AX=0913h,AX=0914h
  233.  
  234. (Table 0001)
  235. Values for Soft-ICE breakpoint type:
  236.  00h    BPM (breakpoint register types)
  237.  01h    I/O
  238.  02h    INTerrupt
  239.  03h    BPX (INT 03h-style breakpoint)
  240.  04h    reserved
  241.  05h    range
  242. --------G-030913-----------------------------
  243. INT 03 - Soft-ICE v2.5x - BACK DOOR COMMANDS - SET Soft-ICE BREAKPOINT
  244.     AX = 0913h
  245.     SI = magic value 4647h ('FG')
  246.     DI = magic value 4A4Dh ('JM')
  247.     DS:DX -> breakpoint structure (see #0002)
  248. Return: AX = status
  249.         00h successful
  250.         BX = breakpoint number
  251.         03h breakpoint table full
  252.         06h memory limit error
  253.         07h I/O limit error
  254.         09h range limit error
  255.         16h duplicate breakpoint
  256. SeeAlso: AX=0912h,AX=0914h
  257.  
  258. Format of Soft-ICE breakpoint structure:
  259. Offset    Size    Description    (Table 0002)
  260.  00h    BYTE    breakpoint type (see #0003)
  261.  01h    DWORD    breakpoint address 1
  262.         (lower range limit for memory BPs,
  263.         interrupt number for interrupt BPs,
  264.         address of BP for execution BPs,
  265.         I/O address (only word)    for I/O BPs)
  266.  05h    DWORD    breakpoint address 2
  267.         (upper range limit for memory BPs,
  268.         optional value to check for for interrupt BPs,
  269.         overlay number (0 = root) for execution BPs)
  270.  09h    DWORD    breakpoint address 3
  271.  0Dh    BYTE    breakpoint mode 1 (see #0004)
  272.         (for interrupt BPs = register to check
  273.             00h     no value checking
  274.             01h     check AL
  275.             02h     check AH
  276.             03h     check AX)
  277.  0Eh    BYTE    breakpoint mode 2 (see #0004)
  278.  0Fh    BYTE    breakpoint size (00h byte, 01h word, 03h dword)
  279.  10h    BYTE    breakpoint pass count before program stop
  280.  11h    BYTE    breakpoint state
  281. Note:    all unused fields should contain zeros
  282.  
  283. (Table 0003)
  284. Values for Soft-ICE breakpoint type:
  285.  00h    memory location
  286.  01h    memory range
  287.  03h    I/O
  288.  04h    interrupt
  289.  05h    execution break
  290.  
  291. (Table 0004)
  292. Values for Soft-ICE breakpoint mode:
  293.  01h    read
  294.  02h    write
  295.  04h    execution
  296. --------G-030914-----------------------------
  297. INT 03 - Soft-ICE v2.5x - BACK DOOR COMMANDS - REMOVE Soft-ICE BREAKPOINT
  298.     AX = 0914h
  299.     SI = magic value 4647h ('FG')
  300.     DI = magic value 4A4Dh ('JM')
  301.     BX = breakpoint number (returned by AX=0913h)
  302. Return: BX = ???
  303. Program: Soft-ICE is a debugger by Nu-Mega Technologies, Inc.
  304. SeeAlso: AX=0912h,AX=0913h
  305. --------C-04---------------------------------
  306. INT 04 C - CPU-generated - INTO DETECTED OVERFLOW
  307. Desc:    the INTO instruction will generate this interrupt if OF (Overflow Flag)
  308.       is set; otherwise, INTO is effectively a NOP
  309. Note:    may be used for convenient overflow testing (to prevent errors from
  310.       propagating) instead of JO or a JNO/JMP combination
  311. SeeAlso: INT 00
  312. --------B-05---------------------------------
  313. INT 05 - PRINT SCREEN
  314. Desc:    dump the current text screen to the first printer
  315. Notes:    normally invoked by the INT 09 handler when PrtSc key is pressed, but
  316.       may be invoked directly by applications
  317.     byte at 0050h:0000h contains status used by default handler
  318.       00h not active
  319.       01h PrtSc in progress
  320.       FFh last PrtSc encountered error
  321.     default handler is at F000h:FF54h in IBM PC and 100%-compatible BIOSes
  322. BUG:    some old BIOSes/applications appear to destroy BP on return
  323. SeeAlso: INT 10/AH=12h/BL=20h,INT 5E"TI Professional",INT 80"Phar Lap"
  324. --------C-05---------------------------------
  325. INT 05 C - CPU-generated (80186+) - BOUND RANGE EXCEEDED
  326. Desc:    generated by BOUND instruction when the value to be tested is less than
  327.       the indicated lower bound or greater than the indicated upper bound.
  328. Note:    returning from this interrupt re-executes the failing BOUND instruction
  329. --------P-05454A-----------------------------
  330. INT 05 U - PSPS v2.01 - EJECT PAGE
  331.     AX = 454Ah ('EJ')
  332. Program: PSPS is shareware PostScript PrintScreen utility by A.N.D.
  333.       Technologies
  334. Note:    sends a ^D to the current printer
  335. SeeAlso: AX=4E57h,AX=5053h,AX=554Eh
  336. --------P-054E57-----------------------------
  337. INT 05 U - PSPS v2.01 - SET PARAMETERS
  338.     AX = 4E57h ('NW')
  339.     ES:SI -> 11-byte buffer containing new settings
  340. Return: buffer filled
  341. SeeAlso: AX=454Ah,AX=5053h,INT 17/AH=63h
  342. --------P-055053-----------------------------
  343. INT 05 U - PSPS v2.01 - GET PARAMETERS
  344.     AX = 5053h ('PS')
  345.     ES:SI -> 11-byte buffer for settings
  346. Return: buffer filled
  347. SeeAlso: AX=4E57h,AX=554Eh,INT 17/AH=64h
  348. --------P-05554E-----------------------------
  349. INT 05 U - PSPS v2.01 - UNINSTALL
  350.     AX = 554Eh ('UN')
  351. Program: PSPS is shareware PostScript PrintScreen utility by A.N.D.
  352.       Technologies
  353. SeeAlso: AX=454Ah,AX=4E57h,INT 17/AH=62h
  354. --------C-06---------------------------------
  355. INT 06 C - CPU-generated (80286+) - INVALID OPCODE
  356. Desc:    this interrupt is generated when the CPU attempts to execute an
  357.       invalid opcode (most protected-mode instructions are considered
  358.       invalid in real mode) or a BOUND, LDS, LES, or LIDT instruction
  359.       which specifies a register rather than a memory address
  360. Notes:    return address points to beginning of invalid instruction
  361.     with proper programming, this interrupt may be used to emulate
  362.       instructions which do not exist; many 386 BIOSes emulate the 80286
  363.       undocumented LOADALL instruction which was removed from the 80386+
  364.     generated by the 80386+ when the LOCK prefix is used with instructions
  365.       other than BTS, BTR, BTC, XCHG, XADD (486), CMPXCHG (486), INC, DEC,
  366.       NOT, NEG, ADD, ADC, SUB, SBB, AND, OR, or XOR, or any instruction
  367.       not accessing memory.
  368. SeeAlso: INT 0C"CPU",INT 0D"CPU"
  369. --------b-06---------------------------------
  370. INT 06 C - HP 95LX - SLEEP/WAKEUP
  371. Desc:    this interrupt is called just before going into light or deep
  372.       (shutdown) sleep and just after returning from light or deep sleep
  373. SeeAlso: INT 0B"HP 95LX",INT 15/AX=4DD4h,INT 15/AH=4Eh
  374. --------V-06---------------------------------
  375. INT 06 U - no-name clone - GRAPHICS CHARACTER TABLE (NOT A VECTOR!)
  376. Desc:    points at graphics data for characters 00h-7Fh of the current font
  377. SeeAlso: INT 43"EGA",INT 44"VIDEO"
  378. --------C-07---------------------------------
  379. INT 07 C - CPU-generated (80286+) - PROCESSOR EXTENSION NOT AVAILABLE
  380. Desc:    this interrupt is automatically called if a coprocessor instruction is
  381.       encountered when no coprocessor is installed
  382. Note:    can be used to emulate a numeric coprocessor in software
  383. SeeAlso: INT 09"MATH UNIT PROTECTION"
  384. --------H-08---------------------------------
  385. INT 08 C - IRQ0 - SYSTEM TIMER
  386. Desc:    generated 18.2 times per second by channel 0 of the 8254 system timer,
  387.       this interrupt is used to keep the time-of-day clock updated
  388. Notes:    programs which need to be invoked regularly should use INT 1C unless
  389.       they need to reprogram the timer while still keeping the time-of-day
  390.       clock running at the proper rate
  391.     default handler is at F000h:FEA5h in IBM PC and 100%-compatible BIOSes
  392.     may be masked by setting bit 0 on I/O port 21h
  393. SeeAlso: INT 1C,INT 4A,INT 50"DESQview",INT 58"DoubleDOS",INT 70,INT 78"GO32"
  394. SeeAlso: INT D8"Screen Thief"
  395. --------C-08---------------------------------
  396. INT 08 C - CPU-generated (80286+) - DOUBLE EXCEPTION DETECTED
  397. Desc:    called when multiple exceptions occur on one instruction, or an
  398.       exception occurs in an exception handler
  399. Notes:    called in protected mode if an interrupt above the defined limit of
  400.       the interrupt vector table occurs
  401.     return address points at beginning of instruction with errors or the
  402.       beginning of the instruction which was about to execute when the
  403.       external interrupt caused the exception
  404.     if an exception occurs in the double fault handler, the CPU goes into
  405.       SHUTDOWN mode (which circuitry in the PC/AT converts to a reset);
  406.       this "triple fault" is a faster way of returning to real mode on
  407.       many 80286 machines than the standard keyboard controller reset
  408. --------H-09---------------------------------
  409. INT 09 C - IRQ1 - KEYBOARD DATA READY
  410. Desc:    this interrupt is generated when data is received from the keyboard.
  411.       This is normally a scan code (from either a keypress *or* a key
  412.       release), but may also be an ACK or NAK of a command on AT-class
  413.       keyboards.
  414. Notes:    this IRQ may be masked by setting bit 1 on I/O port 21h
  415.     if the BIOS supports an enhanced (101/102-key) keyboard, it calls
  416.       INT 15/AH=4Fh after reading the scan code (see #0005) from the
  417.       keyboard and before further processing; all further processing uses
  418.       the scan code returned from INT 15/AH=4Fh
  419.     the default interrupt handler is at F000h:E987h in 100%-compatible
  420.       BIOSes
  421.     the interrupt handler performs the following actions for certain
  422.       special keystrokes:
  423.         Ctrl-Break     clear keyboard buffer, place word 0000h in buffer,
  424.              invoke INT 1B, and set flag at 0040h:0071h
  425.         SysReq     invoke INT 15/AH=85h (SysReq is often labeled SysRq)
  426.         Ctrl-Numlock place system in a tight wait loop until next INT 09
  427.         Ctrl-Alt-Del jump to BIOS startup code (either F000h:FFF0h or the
  428.                destination of the jump at that address)
  429.         Shift-PrtSc     invoke INT 05
  430.         Ctrl-Alt-Plus (HP Vectra) enable keyclick
  431.         Ctrl-Alt-Plus (many clones) set clock speed to high
  432.         Ctrl-Alt-Minus (HP Vectra) reduce keyclick volume
  433.         Ctrl-Alt-Minus (many clones) set clock speed to low
  434.         Ctrl-Alt-SysReq (HP Vectra) generate hard reset
  435.     DRDOS hooks this interrupt to control the cursor shape (underscore/
  436.       half block) for overwrite/insert mode
  437.     DR Multiuser DOS hooks this interrupt for cursor shape control and to
  438.       control whether Ctrl-Alt-Del reboots the current session or the
  439.       entire system
  440. SeeAlso: INT 05,INT 0B"HP 95LX",INT 15/AH=4Fh,INT 15/AH=85h,INT 16,INT 1B
  441. SeeAlso: INT 2F/AX=A901h,INT 4A"TI Professional",INT 51"DESQview"
  442. SeeAlso: INT 59"DoubleDOS",INT 79"GO32"
  443.  
  444. (Table 0005)
  445. Values for keyboard scan code:
  446.  01h    Esc         31h    N
  447.  02h    1 !         32h    M
  448.  03h    2 @         33h    , <         63h    F16
  449.  04h    3 #         34h    . >         64h    F17
  450.  05h    4 $         35h    / ?         65h    F18
  451.  06h    5 %         36h    Right Shift     66h    F19
  452.  07h    6 ^         37h    Grey*         67h    F20
  453.  08h    7 &         38h    Alt         68h    F21
  454.  09h    8 *         39h    SpaceBar     69h    F22
  455.  0Ah    9 (         3Ah    CapsLock     6Ah    F23
  456.  0Bh    0 )         3Bh    F1         6Bh    F24
  457.  0Ch    - _         3Ch    F2         6Ch    --
  458.  0Dh    = +         3Dh    F3         6Dh    EraseEOF
  459.  0Eh    Backspace     3Eh    F4
  460.  0Fh    Tab         3Fh    F5         6Fh    Copy/Play
  461.  10h    Q         40h    F6
  462.  11h    W         41h    F7
  463.  12h    E         42h    F8         72h    CrSel
  464.  13h    R         43h    F9
  465.  14h    T         44h    F10         74h    ExSel
  466.  15h    Y         45h    NumLock         75h    --
  467.  16h    U         46h    ScrollLock     76h    Clear
  468.  17h    I         47h    Home
  469.  18h    O         48h    UpArrow
  470.  19h    P         49h    PgUp
  471.  1Ah    [ {         4Ah    Grey-
  472.  1Bh    ] }         4Bh    LeftArrow
  473.  1Ch    Enter         4Ch    Keypad 5
  474.  1Dh    Ctrl         4Dh    RightArrow
  475.  1Eh    A         4Eh    Grey+
  476.  1Fh    S         4Fh    End
  477.  20h    D         50h    DownArrow
  478.  21h    F         51h    PgDn
  479.  22h    G         52h    Ins
  480.  23h    H         53h    Del
  481.  24h    J         54h    SysReq
  482.  25h    K
  483.  26h    L         56h    left \| (102-key)
  484.  27h    ; :         57h    F11
  485.  28h    ' "         58h    F12         AAh    self-test complete
  486.  29h    ` ~                     E0h    prefix code
  487.  2Ah    Left Shift     5Ah    PA1         E1h    prefix code
  488.  2Bh    \ |         5Bh    F13         EEh    ECHO
  489.  2Ch    Z         5Ch    F14         F0h    prefix code (key break)
  490.  2Dh    X         5Dh    F15         FAh    ACK 
  491.  2Eh    C                     FDh    diagnostic failure
  492.  2Fh    V                     FEh    RESEND
  493.  30h    B                     FFh    kbd error/buffer full
  494. Notes:    scan codes 56h-E1h are only available on the extended (101/102-key)
  495.       keyboard and Host Connected (122-key) keyboard; scan codes 5Ah-76h
  496.       are only available on the 122-key keyboard
  497.     the SysReq key is often labeled SysRq
  498. SeeAlso: #0460
  499. --------C-09---------------------------------
  500. INT 09 C - CPU-generated (80286,80386) - PROCESSOR EXTENSION PROTECTION ERROR
  501. Desc:    called if the coprocessor attempts to access memory outside a segment
  502.       boundary; it may occur at an arbitrary time after the coprocessor
  503.       instruction was issued
  504. Notes:    until the condition is cleared or the coprocessor is reset, the only
  505.       coprocessor instruction which may be used is FNINIT; WAIT or other
  506.       coprocessor instructions will cause a deadlock because the
  507.       coprocessor is still busy waiting for data
  508.     for the 486+, a coprocessor protection error generates an INT 0D
  509. SeeAlso: INT 07"CPU"
  510. --------*-09---------------------------------
  511. INT 09 P - internal hardware - RESERVED BY Intel (80486)
  512. Note:    this exception has been moved to INT 0D
  513. SeeAlso: INT 09"MATH",INT 0D
  514. --------H-0A---------------------------------
  515. INT 0A C - IRQ2 - LPT2 (PC), VERTICAL RETRACE INTERRUPT (EGA,VGA)
  516. Notes:    the TOPS and PCnet adapters use this interrupt request line by default
  517.     DOS 3.2 revectors IRQ2 to a stack-switching routine
  518.     on ATs and above, the physical data line for IRQ2 is labeled IRQ9 and
  519.       connects to the slave 8259.  The BIOS redirects the interrupt for
  520.       IRQ9 back here.
  521.     under DESQview, only the INT 15h vector and BASIC segment address (the
  522.       word at 0000h:0510h) may be assumed to be valid for the handler's
  523.       process
  524.     many VGA boards do not implement the vertical retrace interrupt,
  525.       including the IBM VGA Adapter where the traces are either cut or
  526.       removed
  527. SeeAlso: INT 52"DESQview",INT 5A"DoubleDOS",INT 71,INT 7A"GO32"
  528. --------H-0A---------------------------------
  529. INT 0A C - IRQ2 - Tandy 1000-series HARD DISK
  530. Notes:    this interrupt may be masked by setting bit 2 on I/O port 21h
  531.     the Tandy 1000, 1000A, and 1000HD use IRQ2 for the hard disk; the
  532.       1000EX, HX, RLX, RLX-HD, RLX-B, RLX-HD-B use IRQ5 instead; the
  533.       1000RL, RL-HD, SL, SL/2, TL, TL/2, and TL/3 are jumper-selectable
  534.       for either IRQ2 or IRQ5 (default IRQ5); the 1000SX and TX are
  535.       DIP-switch selectable for IRQ2 or IRQ5 (default IRQ2); the RSX and
  536.       RSX-HD use IRQ14.  Tandy systems which use IRQ2 for the hard disk
  537.       interrupt use IRQ5 for vertical retrace.
  538. SeeAlso: INT 52"DESQview",INT 5A"DoubleDOS",INT 71
  539. --------H-0A---------------------------------
  540. INT 0A - IRQ2 - ROLAND MPU MIDI INTERFACE
  541. Note:    newer Roland cards and MIDI interfaces by other manufacturers use
  542.       a jumper-selectable IRQ, but software and hardware generally defaults
  543.       to IRQ2
  544. SeeAlso: INT 52"DESQview",INT 5A"DoubleDOS",INT 71,INT 7A"GO32"
  545. --------C-0A---------------------------------
  546. INT 0A CP - CPU-generated (80286+) - INVALID TASK STATE SEGMENT
  547. Desc:    automatically called during a task switch if the new TSS specified by
  548.       the task gate is invalid for any of the following reasons:
  549.         TSS limit is less than 43 (80286) or 103 (80386/80486)
  550.         LDT selector invalid or segment not present
  551.         null SS selector, or SS selector outside LDT/GDT limit
  552.         stack segment is read-only
  553.         stack segment DPL differs from new CPL, or RPL <> CPL
  554.         CS selector is outside LDT/GDT limit or not code
  555.         non-conforming code segment's DPL differs from CPL
  556.         conforming code segment's DPL > CPL
  557.         DS/ES selectors outside LDT/GDT limit or not readable segments
  558. Note:    the handler must use a task gate in order to have a valid TSS under
  559.       which to execute; it must also reset the busy bit in the new TSS
  560. SeeAlso: INT 0B"CPU"
  561. --------H-0B---------------------------------
  562. INT 0B C - IRQ3 - SERIAL COMMUNICATIONS (COM2)
  563. Desc:    automatically asserted by the UART when COM2 needs attention, if the
  564.       UART has been programmed to generate interrupts
  565. Notes:    the TOPS and PCnet adapters use this interrupt request line as an
  566.       alternate
  567.     on PS/2s, COM2 through COM8 share this interrupt; on many PC's, COM4
  568.       shares this interrupt
  569.     may be masked by setting bit 3 on I/O port 21h
  570. SeeAlso: INT 0C"COM1",INT 53"DESQview",INT 5B"DoubleDOS",INT 7B"GO32"
  571. --------C-0B---------------------------------
  572. INT 0B CP - CPU-generated (80286+) - SEGMENT NOT PRESENT
  573. Desc:    generated when loading a segment register if the segment descriptor
  574.       indicates that the segment is not currently in memory, unless the
  575.       segment is an LDT (see INT 0A"CPU") or stack segment (see
  576.       INT 0C"CPU") needed by a task switch
  577. Note:    may be used to implement virtual memory by loading in segments as they
  578.       are accessed, clearing the "not present" bit after loading
  579. SeeAlso: INT 0A"CPU",INT 0E"hardware"
  580. --------h-0B---------------------------------
  581. INT 0B - HP 95LX - LOW-LEVEL KEYBOARD HANDLER
  582. Desc:    this is the lowest-level keyboard handler on an HP 95LX palmtop
  583. Note:    debounces key, places the keycode in I/O register 60h, and calls INT 09
  584. SeeAlso: INT 09,INT 0D"HP 95LX",INT 15/AX=4DD4h
  585. --------H-0C---------------------------------
  586. INT 0C C - IRQ4 - SERIAL COMMUNICATIONS (COM1)
  587. Desc:    automatically asserted by the UART when COM1 needs attention, if the
  588.       UART has been programmed to generate interrupts
  589. BUG:    this vector is modified but not restored by Direct Access v4.0, and
  590.       may be left dangling by other programs written with the same version
  591.       of compiled BASIC
  592. Notes:    on many PC's, COM3 shares this interrupt
  593.     may be masked by setting bit 4 on I/O port 21h
  594. SeeAlso: INT 0B"COM2",INT 54"DESQview",INT 5C"DoubleDOS",INT 7C"GO32"
  595. --------C-0C---------------------------------
  596. INT 0C C - CPU-generated (80286+) - STACK FAULT
  597. Desc:    this interrupt is generated in protected mode on a stack overflow or
  598.       underflow, or if an inter-level transition or task switch references
  599.       a stack segment marked "not present"; it is generated in real mode
  600.       on accessing a word operand at SS:FFFFh
  601. Note:    the 80286 will shut down in real mode if SP=1 before a push.  On the
  602.       PC AT and compatibles, external circuitry generates a reset on
  603.       shutdown.
  604. SeeAlso: INT 0B"CPU",INT 0D"CPU"
  605. --------I-0C---------------------------------
  606. INT 0C - IBM SYSTEM 36/38 WORKSTATION EMULATION - API POINTER
  607. Desc:    the IBM System 36/38 emulator may be invoked through a private API,
  608.       whose entry point address (see #0006) is offset 100h in the segment
  609.       pointed at by this vector
  610.  
  611. (Table 0006)
  612. Call the System 36/38 emulator API entry point with:
  613.     AH = function
  614.         03h update screen
  615.         05h select next session
  616.         AL = session number (00h-03h)
  617.         Return: AL = session type code
  618.                 00h not active
  619.                 01h display session
  620.                 02h printer session
  621.                 FEh invalid session number
  622.             DS = requested session's data segment (0 if not active)
  623.                 (see #0007)
  624. Return: ???
  625.  
  626. Format of System 36/38 emulator's data area:
  627. Offset    Size    Description    (Table 0007)
  628. 13Eh    BYTE    bit flags for status line indicators turned on since this byte
  629.         last zerod
  630. 13Fh    BYTE    bit flags for status line indicators turned off since this
  631.         byte last set to FFh
  632. 140h    WORD    offset of EBCDIC to ASCII translation
  633. 146h    WORD    offset of EBCDIC screen buffer
  634. 148h    WORD    offset of EC (engineering change) level signature
  635. 150h    BYTE    "KEYI"
  636. 151h    BYTE    5250 key scan code to be sent to remote
  637. 15Bh    BYTE    "SYSAV"
  638. 15Dh    BYTE    5250 cursor column
  639. 15Eh    BYTE    5250 cursor row
  640. 167h    BYTE    "DVCTAD"
  641. 178h    BYTE    "FLAGS"
  642. 184h    BYTE    "SESSNOAD"
  643. 193h    BYTE    "STNAD"
  644. 198h    BYTE    "NSDS"
  645. Note:    offsets are from the interrupt handler's segment
  646. --------H-0D---------------------------------
  647. INT 0D C - IRQ5 - FIXED DISK (PC,XT), LPT2 (AT), reserved (PS/2)
  648. Notes:    under DESQview, only the INT 15h vector and BASIC segment address (the
  649.       word at 0000h:0510h) may be assumed to be valid for the handler's
  650.       process
  651.     the Tandy 1000, 1000A, and 1000HD use IRQ2 for the hard disk; the
  652.       1000EX, HX, RLX, RLX-HD, RLX-B, RLX-HD-B use IRQ5 instead; the
  653.       1000RL, RL-HD, SL, SL/2, TL, TL/2, and TL/3 are jumper-selectable
  654.       for either IRQ2 or IRQ5 (default IRQ5); the 1000SX and TX are
  655.       DIP-switch selectable for IRQ2 or IRQ5 (default IRQ2); the RSX and
  656.       RSX-HD use IRQ14.  Tandy systems which use IRQ2 for the hard disk
  657.       interrupt use IRQ5 for vertical retrace.
  658.     may be masked by setting bit 5 on I/O port 21h
  659. SeeAlso: INT 0E"IRQ6",INT 0F"IRQ7",INT 55"DESQview",INT 5D"DoubleDOS"
  660. SeeAlso: INT 7D"GO32"
  661. --------H-0D---------------------------------
  662. INT 0D C - IRQ5 - Tandy 1000 60 Hz RAM REFRESH
  663. Desc:    used to ensure that the dynamic RAM retains its contents in earlier
  664.       1000-series models; later models use normal DMA for RAM refresh
  665.       (some early models have no DMA unless it is added via an expansion
  666.       card)
  667. SeeAlso: INT 55
  668. --------h-0D---------------------------------
  669. INT 0D - HP 95LX - INFRARED INTERRUPT
  670. Desc:    this interrupt is used to perform communications over the infrared
  671.       data link
  672. SeeAlso: INT 0B"HP 95LX",INT 0E"HP 95LX",INT 15/AX=4DD4h
  673. --------C-0D---------------------------------
  674. INT 0D C - CPU-generated (80286+) - GENERAL PROTECTION VIOLATION
  675. Desc:    the CPU generates this interrupt when it detects a protection violation
  676.       which does not fit under any other category having a separate
  677.       interrupt
  678. Notes:    called in real mode when
  679.         an instruction accesses a memory operand extending beyond offset
  680.           FFFFh (i.e. WORD at FFFFh or DWORD at FFFDh or higher) in segment
  681.           CS, DS, ES, FG, or GS
  682.         a PUSH MEM or POP MEM instruction contains an invalid bit encoding
  683.           in the second byte
  684.         an instruction exceeds the maximum length allowed (10 bytes for
  685.           80286, 15 bytes for 80386/80486)
  686.         an instruction wraps from offset FFFFh to offset 0000h
  687.     called in protected mode on protection violations not covered by INT 06
  688.       through INT 0C, including
  689.         segment limit violations
  690.         write to read-only segments
  691.         accesses using null DS or ES selectors
  692.         accesses to segments with privilege greater than CPL
  693.         wrong descriptor type
  694.     called on 80486 protected-mode floating-point protection fault
  695. SeeAlso: INT 09"80486",INT 0C"STACK"
  696. --------H-0E---------------------------------
  697. INT 0E C - IRQ6 - DISKETTE CONTROLLER
  698. Desc:    this interrupt is generated by the floppy disk controller on
  699.       completion of an operation
  700. Notes:    default handler is at F000h:EF57h in IBM PC and 100%-compatible BIOSes
  701.     may be masked by setting bit 6 on I/O port 21h
  702. SeeAlso: INT 0D"IRQ5",INT 56"DESQview",INT 5E"DoubleDOS",INT 7E"GO32"
  703. --------C-0E---------------------------------
  704. INT 0E C - CPU-generated (80386+ native mode) - PAGE FAULT
  705. Desc:    this interrupt is generated in protected and virtual-86 modes on
  706.       attempting to access a 4K memory page whose page table entry has
  707.       the "present" bit cleared
  708. Note:    used to implement virtual memory
  709. SeeAlso: INT 0B"hardware"
  710. --------h-0E---------------------------------
  711. INT 0E C - HP 95LX - EXTERNAL CARD INTERRUPT
  712. SeeAlso: INT 0D"HP 95LX",INT 0F"HP 95LX",INT 15/AX=4DD4h
  713. --------H-0F---------------------------------
  714. INT 0F C - IRQ7 - PARALLEL PRINTER
  715. Desc:    this interrupt is generated by the LPT1 printer adapter when the
  716.       printer becomes ready
  717. Notes:    most printer adapters do not reliably generate this interrupt
  718.     the 8259 interrupt controller generates an interrupt corresponding to
  719.       IRQ7 when an error condition occurs
  720. SeeAlso: INT 0D"LPT2",INT 57"DESQview",INT 5F"DoubleDOS",INT 7F"GO32"
  721. --------h-0F---------------------------------
  722. INT 0F C - HP 95LX - REAL-TIME CLOCK
  723. SeeAlso: INT 0E"HP 95LX",INT 15/AX=4DD4h,INT 70
  724. --------C-10---------------------------------
  725. INT 10 C - CPU-generated (80286+) - COPROCESSOR ERROR
  726. Desc:    this interrupt is generated by the CPU when the -ERROR pin is asserted
  727.       by the coprocessor
  728. Note:    AT's and clones usually wire the coprocessor to use IRQ13, but not all
  729.       get it right
  730. SeeAlso: INT 09"hardware",INT 75
  731. --------V-1000-------------------------------
  732. INT 10 - VIDEO - SET VIDEO MODE
  733.     AH = 00h
  734.     AL = desired video mode (see #0009)
  735. Return: AL = video mode flag (Phoenix, AMI BIOS)
  736.         20h mode > 7
  737.         30h modes 0-5 and 7
  738.         3Fh mode 6
  739.     AL = CRT controller mode byte (Phoenix 386 BIOS v1.10)
  740. Desc:    specify the display mode for the currently active display adapter
  741. Notes:    IBM standard modes do not clear the screen if the high bit of AL is set
  742.       (EGA or higher only)
  743.     the Tseng ET4000 chipset is used by the Orchid Prodesigner II, Diamond
  744.       SpeedSTAR VGA, Groundhog Graphics Shadow VGA, Boca Super X VGA,
  745.       Everex EV-673
  746.     the installation check for Ahead adapters is the signature "AHEAD" at
  747.       C000h:0025h
  748.     the installation check for Paradise adapters is the signature "VGA=" at
  749.       C000h:007Dh
  750.     the installation check for Oak Tech OTI-037/057/067/077 chipsets is the
  751.       signature "OAK VGA" at C000h:0008h
  752.     the installation check for ATI adapters is the signature "761295520" at
  753.       C000h:0031h; the byte at C000h:0043h indicates the chipset revision:
  754.         31h for 18800
  755.         32h for 18800-1
  756.         33h for 18800-2
  757.         34h for 18800-4
  758.         35h for 18800-5
  759.       the two bytes at C000h:0040h indicate the adapter type
  760.         "22" EGA Wonder
  761.         "31" VGA Wonder
  762.         "32" EGA Wonder800+
  763.       the byte at C000h:0042h contains feature flags
  764.         bit 1: mouse port present
  765.         bit 4: programmable video clock
  766.       the byte at C000h:0044h contains additional feature flags if chipset
  767.         byte > 30h (see #0008)
  768.     the installation check for Genoa video adapters is the signature
  769.       77h XXh 99h 66h at C000h:NNNNh, where NNNNh is stored at C000h:0037h
  770.       and XXh is
  771.         00h for Genoa 6200/6300
  772.         11h for Genoa 6400/6600
  773.         22h for Genoa 6100
  774.         33h for Genoa 5100/5200
  775.         55h for Genoa 5300/5400
  776.       for SuperEGA BIOS v2.41+, C000h:0057h contains the product level
  777.       for SuperEGA BIOS v3.0+, C000h:0070h contains the signature
  778.         "EXTMODE", indicating support for extended modes
  779. SeeAlso: AX=0070h,AX=007Eh,AX=10E0h,AX=10F0h,AH=40h,AX=6F05h,AH=FFh"GO32"
  780. SeeAlso: INT 33/AX=0028h,INT 5F/AH=00h,INT 62/AX=0001h
  781. Index:    installation check;Tseng ET4000|installation check;Ahead video cards
  782. Index:    installation check;Oak Technologies|installation check;ATI video cards
  783. Index:    installation check;Paradise video|installation check;Genoa video cards
  784.  
  785. Bitfields for ATI additional feature flags:
  786. Bit(s)    Description    (Table 0008)
  787.  0    70 Hz non-interlaced display
  788.  1    Korean (double-byte) characters
  789.  2    45 MHz memory clock rather than 40 MHz
  790.  3    zero wait states
  791.  4    paged ROMs
  792.  6    no 8514/A monitor support
  793.  7    HiColor DAC
  794.  
  795. (Table 0009)
  796. Values for video mode:
  797.      text/ text pixel    pixel    colors disply scrn  system
  798.      grph resol     box  resolution       pages  addr
  799.  00h = T  40x25     8x8   320x200    16gray      8   B800 CGA,PCjr,Tandy
  800.      = T  40x25     8x14  320x350    16gray      8   B800 EGA
  801.      = T  40x25     8x16  320x400     16      8   B800 MCGA
  802.      = T  40x25     9x16  360x400     16      8   B800 VGA
  803.  01h = T  40x25     8x8   320x200     16      8   B800 CGA,PCjr,Tandy
  804.      = T  40x25     8x14  320x350     16      8   B800 EGA
  805.      = T  40x25     8x16  320x400     16      8   B800 MCGA
  806.      = T  40x25     9x16  360x400     16      8   B800 VGA
  807.  02h = T  80x25     8x8   640x200    16gray      4   B800 CGA,PCjr,Tandy
  808.      = T  80x25     8x14  640x350    16gray      8   B800 EGA
  809.      = T  80x25     8x16  640x400     16      8   B800 MCGA
  810.      = T  80x25     9x16  720x400     16      8   B800 VGA
  811.  03h = T  80x25     8x8   640x200     16      4   B800 CGA,PCjr,Tandy
  812.      = T  80x25     8x14  640x350     16/64      8   B800 EGA
  813.      = T  80x25     8x16  640x400     16      8   B800 MCGA
  814.      = T  80x25     9x16  720x400     16      8   B800 VGA
  815.  04h = G  40x25     8x8   320x200      4      .   B800 CGA,PCjr,EGA,MCGA,VGA
  816.  05h = G  40x25     8x8   320x200     4gray      .   B800 CGA,PCjr,EGA
  817.      = G  40x25     8x8   320x200      4      .   B800 MCGA,VGA
  818.  06h = G  80x25     8x8   640x200      2      .   B800 CGA,PCjr,EGA,MCGA,VGA
  819.      = G  80x25      .      .    mono      .   B000 HERCULES.COM on HGC [14]
  820.  07h = T  80x25     9x14  720x350    mono     var  B000 MDA,Hercules,EGA
  821.      = T  80x25     9x16  720x400    mono      .   B000 VGA
  822.  08h = T 132x25     8x8  1056x200     16      .   B800 ATI EGA/VGA Wonder [2]
  823.      = T 132x25     8x8  1056x200    mono      .   B000 ATI EGA/VGA Wonder [2]
  824.      = G  20x25     8x8   160x200     16      .    .  PCjr, Tandy 1000
  825.      = G  90x43     8x8   720x348    mono      .   B000 Hercules + MSHERC.COM
  826.      = G  90x45     8x8   720x360    mono      .   B000 Hercules + HERKULES [11]
  827.  09h = G  40x25     8x8   320x200     16      .    .  PCjr, Tandy 1000
  828.  0Ah = G  80x25     8x8   640x200      4      .    .  PCjr, Tandy 1000
  829.  0Bh =     reserved                   (EGA BIOS internal use)
  830.      = G  80x25     8x8   640x200     16      .    .  Tandy 1000 SL/TL [13]
  831.  0Ch =     reserved                   (EGA BIOS internal use)
  832.  0Dh = G  40x25     8x8   320x200     16      8   A000 EGA,VGA
  833.  0Eh = G  80x25     8x8   640x200     16      4   A000 EGA,VGA
  834.  0Fh = G  80x25     8x14  640x350    mono      2   A000 EGA,VGA
  835.  10h = G  80x25     8x14  640x350      4      2   A000 64k EGA
  836.      = G    .      .    640x350     16      .   A000 256k EGA,VGA
  837.  11h = G  80x30     8x16  640x480    mono      .   A000 VGA,MCGA,ATI EGA,ATI VIP
  838.  12h = G  80x30     8x16  640x480     16/256K  .   A000 VGA,ATI VIP
  839.      = G  80x30     8x16  640x480     16/64      .   A000 ATI EGA Wonder
  840.      = G    .      .    640x480     16      .    .  UltraVision+256K EGA
  841.  13h = G  40x25     8x8   320x200    256/256K  .   A000 VGA,MCGA,ATI VIP
  842.  14h = T 132x25     Nx16      .     16      .    .  XGA, IBM Enhanced VGA [3]
  843.      = T 132x25     8x16 1056x400     16/256K  .    .  Cirrus CL-GD5420/5422/5426
  844.      = G  80x25     8x8   640x200      .      .    .  Lava Chrome II EGA
  845.      = G    .      .    640x400     16      .    .  Tecmar VGA/AD
  846.  15h = G  80x25     8x14  640x350      .      .    .  Lava Chrome II EGA
  847.  16h = G  80x25     8x14  640x350      .      .    .  Lava Chrome II EGA
  848.      = G    .      .    800x600     16      .    .  Tecmar VGA/AD
  849.  17h = T 132x25      .      .      .      .    .  Tecmar VGA/AD
  850.      = T  80x43     8x8   640x348     16      4   B800 Tseng ET4000 BIOS [10]
  851.      = G  80x34     8x14  640x480      .      .    .  Lava Chrome II EGA
  852.  18h = T  80x30     9x16  720x480     16      1   A000 Realtek RTVGA [12]
  853.      = T 132x25      .      .    mono      .   B000 Cirrus 5320 chipset
  854.      = T 132x44     8x8  1056x352    mono      .   B000 Tseng Labs EVA
  855.      = T 132x44     9x8  1188x352     4gray      2   B000 Tseng ET3000 chipset
  856.      = T 132x44     8x8  1056x352     16/256      2   B000 Tseng ET4000 chipset
  857.      = G  80x34     8x14  640x480      .      .    .  Lava Chrome II EGA
  858.      = G          1024x768     16      .    .  Tecmar VGA/AD
  859.  19h = T  80x43     9x11  720x473     16      1   A000 Realtek RTVGA [12]
  860.      = T 132x25     8x14 1056x350    mono      .   B000 Tseng Labs EVA
  861.      = T 132x25     9x14 1188x350     4gray      4   B000 Tseng ET3000 chipset
  862.      = T 132x25     8x14 1056x350     16/256      4   B000 Tseng ET4000 chipset
  863.      = T 132x34      .      .    mono      .   B000 Cirrus 5320 chipset
  864.  1Ah = T  80x60     9x8   720x480     16      1   A000 Realtek RTVGA [12]
  865.      = T 132x28     8x13 1056x364    mono      .   B000 Tseng Labs EVA
  866.      = T 132x28     9x13 1188x364     4gray      4   B000 Tseng ET3000 chipset
  867.      = T 132x28     8x13 1056x364     16/256      4   B000 Tseng ET4000 chipset
  868.      = T 132x44      .      .    mono      .   B000 Cirrus 5320 chipset
  869.      = G    .      .    640x350    256      .    .  Tecmar VGA/AD
  870.  1Bh = T 132x25     9x14 1188x350     16      1   A000 Realtek RTVGA [12]
  871.      = G    .      .    640x400    256      .    .  Tecmar VGA/AD
  872.  1Ch = T 132x25      .      .      .      .    .  Cirrus 5320 chipset
  873.      = T 132x30     9x16 1188x480     16      1   A000 Realtek RTVGA [12]
  874.      = G    .      .    640x480    256      .    .  Tecmar VGA/AD
  875.  1Dh = T 132x43      .      .      .      .    .  Cirrus 5320 chipset
  876.      = T 132x43     9x11 1188x473     16      1   A000 Realtek RTVGA [12]
  877.      = G    .      .    800x600    256      .    .  Tecmar VGA/AD
  878.  1Eh = T 132x44      .      .      .      .    .  Cirrus 5320 chipset
  879.      = T 132x60     9x8  1188x480     16      1   A000 Realtek RTVGA [12]
  880.  1Fh = G 100x75     8x8   800x600     16      1   A000 Realtek RTVGA
  881.  20h = T 132x25      .      .     16      .    .  Avance Logic AL2101
  882.      = G  40x16      .    240x128    mono      .   B000 HP 95LX/100LX/200LX
  883.      = G 120x45     8x16  960x720     16      1   A000 Realtek RTVGA
  884.  21h = T  80x25      .      .    mono      .   B000 HP 200LX
  885.      = T 132x30      .      .     16      .    .  Avance Logic AL2101
  886.      = T 132x44     9x9  1188x396     16/256K  .   B800 WD90C
  887.      = T 132x44     9x9  1188x396     16      .   B800 Diamond Speedstar 24X
  888.      = T 132x60      .      .     16      2   B800 Tseng ET4000 chipset [10]
  889.      = G  80x43     8x8   720x348    mono      .   B000 DESQview 2.x+Hercules [4]
  890.      = G 128x48     8x16 1024x768     16      1   A000 Realtek RTVGA [12]
  891.  22h = T 132x43      .      .      .      .    .  Allstar Peacock (VGA)
  892.      = T 132x43      .      .     16      .    .  Avance Logic AL2101
  893.      = T 132x44     8x8  1056x352      .      .   B800 Tseng Labs EVA
  894.      = T 132x44     9x8  1188x352     16/256K  2   B800 Tseng ET3000 chipset
  895.      = T 132x44     8x8  1056x352     16/256K  2   B800 Tseng ET4000 chipset
  896.      = T 132x44     8x8  1056x352      .      .    .  Ahead Systems EGA2001
  897.      = T 132x44     8x8  1056x352     16      2   B800 Ahead B
  898.      = T 132x44     8x9  1056x398     16      .    .  STB Lightspeed ET4000/W32P
  899.      = T 132x44      .      .     16      .    .  Orchid Prodesigner VGA
  900.      = G  80x43     8x8   720x348    mono      .   B800 DESQview 2.x+Hercules [4]
  901.      = G  96x64     8x16  768x1024     16      1   A000 Realtek RTVGA
  902.  23h = T 132x25     6x14  792x350      .      .   B800 Tseng Labs EVA
  903.      = T 132x25     9x14 1188x350     16/256K  4   B800 Tseng ET3000 chipset
  904.      = T 132x25     8x14 1056x350     16/256      4   B800 Tseng ET4000 chipset
  905.      = T 132x25     8x14 1056x350      .      .    .  Ahead Systems EGA2001
  906.      = T 132x25     8x14 1056x350     16      4   B800 Ahead B
  907.      = T 132x25     8x8  1056x200     16      .   B800 ATI EGA Wonder,ATI VIP
  908.      = T 132x25      .      .      .      .    .  Cirrus 5320 chipset
  909.      = T 132x28      .      .      .      .    .  Allstar Peacock (VGA)
  910.      = T 132x28      .      .     16      .    .  Orchid Prodesigner VGA
  911.      = T 132x60      .      .     16      .    .  Avance Logic AL2101
  912.      = G 128x48     8x16 1024x768      4      1   A000 Realtek RTVGA
  913.  24h = T  80x30      .      .     16      .    .  Avance Logic AL2101
  914.      = T 132x25      .      .      .      .    .  Allstar Peacock (VGA)
  915.      = T 132x25      .      .     16      .    .  Orchid Prodesigner VGA
  916.      = T 132x28     6x13  792x364      .      .   B800 Tseng Labs EVA
  917.      = T 132x28     9x13 1188x364     16/256K  4   B800 Tseng ET3000 chipset
  918.      = T 132x28     8x12 1056x336     16      1   B800 Ahead B
  919.      = T 132x28     8x13 1056x364     16/256K  4   B800 Tseng ET4000 chipset
  920.      = T 132x28     8x14 1056x392     16      .    .  STB Lightspeed ET4000/W32P
  921.      = T 132x28      .      .      .      .    .  Cirrus 5320 chipset
  922.      = G  64x32     8x16  512x512    256      1   A000 Realtek RTVGA
  923.  25h = T  80x43      .      .     16      .    .  Avance Logic AL2101
  924.      = G  80x60     8x8   640x480      .      .   A000 Tseng Labs EVA
  925.      = G  80x60     8x8   640x480     16/256K  1   A000 Tseng ET3000/4000 chipset
  926.      = G    .      .    640x480     16      .    .  VEGA VGA
  927.      = G  80x60     8x8   640x480     16      .   A000 Orchid Prodesigner VGA
  928.      = G  80x60     8x8   640x480     16      1   A000 Ahead B (same as 26h)
  929.      = G    .      .    640x480     16      .    .  NEC GB-1
  930.      = G    .      .    640x480     16      .    .  Cirrus 5320 chipset
  931.      = G    .      .    640x400    256      .    .  Realtek RTVGA
  932.  26h = T  80x60     8x8   640x480      .      .    .  Tseng Labs EVA
  933.      = T  80x60     8x8   640x480     16/256K  3   B800 Tseng ET3000/4000 chipset
  934.      = T  80x60      .      .      .      .    .  Allstar Peacock (VGA)
  935.      = T  80x60      .      .     16      .    .  Orchid ProDesigner VGA
  936.      = T  80x60      .      .     16      .    .  Avance Logic AL2101
  937.      = G  80x60     8x8   640x480      .      .    .  Ahead Systems EGA2001
  938.      = G  80x60     8x8   640x480     16      1   A000 Ahead B (same as 25h)
  939.      = G    .      .    640x480    256      .    .  Realtek RTVGA
  940.  27h = T 132x25     8x8  1056x200    mono      .   B000 ATI EGA Wonder,ATI VIP
  941.      = G    .      .    720x512     16      .    .  VEGA VGA
  942.      = G    .      .    720x512     16      .    .  Genoa
  943.      = G 100x75     8x8   800x600    256      1   A000 Realtek RTVGA [12]
  944.      = G    .      .    960x720     16      .    .  Avance Logic AL2101
  945.  28h = T ???x???  .      .      .      .    .  VEGA VGA
  946.      = G    .      .    512x512    256      .    .  Avance Logic AL2101
  947.      = G    .      .   1024x768    256      .    .  Realtek RTVGA (1meg)
  948.  29h = G    .      .    640x400    256      .    .  Avance Logic AL2101
  949.      = G    .      .    800x600     16      .    .  VEGA VGA
  950.      = G 100x37     8x16  800x600     16      .   A000 Orchid
  951.      = G    .      .    800x600     16      .   A000 STB,Genoa,Sigma
  952.      = G    .      .    800x600     16      .    .  Allstar Peacock (VGA)
  953.      = G 100x37     8x16  800x600     16/256K  1   A000 Tseng ET3000/4000 chipset
  954.      = G    .      .    800x600    ???      .    .  EIZO MDB10
  955.      = G    .      .    800x600     16      .    .  Cirrus 5320 chipset
  956.      = G   NA      .    800x600     16      .    .  Compaq QVision 1024/1280
  957.      = G    .      .   1024x1024 256      .    .  Realtek RTVGA BIOS v3.C10
  958.  2Ah = T 100x40      .      .      .      .    .  Allstar Peacock (VGA)
  959.      = T 100x40     8x16  800x640     16      .    .  Orchid Prodesigner VGA
  960.      = T 100x40     8x15  800x600     16/256K  4   B800 Tseng ET3000/4000 chipset
  961.      = T 100x40     8x15  800x600     16      .    .  STB Lightspeed ET4000/W32P
  962.      = G    .      .    640x480    256      .    .  Avance Logic AL2101
  963.      = G    .      .   1280x1024     16      .    .  Realtek RTVGA
  964.  2Bh = G    .      .    800x600     16      .    .  Avance Logic AL2101
  965.  2Ch = G    .      .    800x600    256      .    .  Avance Logic AL2101
  966.  2Dh = G    .      .    640x350    256      .    .  VEGA VGA
  967.      = G    .      .    640x350    256/256K  .   A000 Orchid, Genoa, STB
  968.      = G  80x25     8x14  640x350    256/256K  1   A000 Tseng ET3000/4000 chipset
  969.      = G    .      .    640x350    256      .    .  Cirrus 5320 chipset
  970.      = G  80x25     8x14  640x350    256      .    .  STB Lightspeed ET4000/W32P
  971.      = G    .      .    768x1024     16      .    .  Avance Logic AL2101
  972.  2Eh = G    .      .    640x480    256      .    .  VEGA VGA
  973.      = G  80x30     8x16  640x480 256/256K      .   A000 Orchid
  974.      = G    .      .    640x480 256/256K      .   A000 STB,Genoa,Sigma
  975.      = G  80x30     8x16  640x480 256/256K      1   A000 Tseng ET3000/4000 chipset
  976.      = G    .      .    640x480 256/256K      .    .  Compaq QVision 1024/1280
  977.      = G    .      .    768x1024 256      .    .  Avance Logic AL2101
  978.  2Fh = T 160x50     8x8  1280x400     16      4   B800 Ahead B (Wizard/3270)
  979.      = G    .      .    720x512    256      .    .  VEGA VGA
  980.      = G    .      .    720x512    256      .    .  Genoa
  981.      = G  80x25     8x16  640x400 256/256K      1   A000 Tseng ET4000 chipset
  982.      = G    .      .   1024x768      4      .    .  Avance Logic AL2101
  983.  30h = G    .      .    800x600    256      .    .  VEGA VGA
  984.      = G 100x37     8x16  800x600 256/256K      .   A000 Orchid
  985.      = G    .      .    800x600 256/256K      .   A000 STB,Genoa,Sigma
  986.      = G    .      .    720x350      2      .    .  3270 PC
  987.      = G    .      .    800x600    256      .    .  Cardinal
  988.      = G    .      .      .      .      .   B800 AT&T 6300
  989.      = G 100x37     8x16  800x600 256/256K      1   A000 Tseng ET3000/4000 chipset
  990.      = G    .      .   1024x768     16      .    .  Avance Logic AL2101
  991.  31h = G    .      .   1024x768    256      .    .  Avance Logic AL2101
  992.  32h = T  80x34     8x10      .     16      4   B800 Ahead B (Wizard/3270)
  993.      = G    .      .    640x480    256      .    .  Compaq QVision 1024/1280
  994.  33h = T 132x44     8x8      .     16      .   B800 ATI EGA Wonder,ATI VIP
  995.      = T  80x34     8x8      .     16      4   B800 Ahead B (Wizard/3270)
  996.  34h = T  80x66     8x8      .     16      4   B800 Ahead B (Wizard/3270)
  997.      = G    .      .    800x600    256      .    .  Compaq QVision 1024/1280
  998.  36h = G    .      .    960x720     16      .    .  VEGA VGA, STB
  999.      = G    .      .    960x720     16      .   A000 Tseng ET3000 only
  1000.      = G    .      .   1280x1024     16      .    .  Avance Logic AL2101
  1001.  37h = T 132x44     8x8      .    mono      .   B800 ATI EGA Wonder,ATI VIP
  1002.      = G    .      .   1024x768     16      .    .  VEGA VGA
  1003.      = G 128x48     8x16 1024x768     16      .   A000 Orchid
  1004.      = G    .      .   1024x768     16      .   A000 STB,Genoa,Sigma
  1005.      = G    .      .   1024x768     16      .    .  Definicon
  1006.      = G 128x48     8x16 1024x768     16      1   A000 Tseng ET3000/4000 chipset
  1007.      = G    .      .   1024x768     16      .    .  Compaq QVision 1024/1280
  1008.      = G    .      .   1280x1024 256      .    .  Avance Logic AL2101
  1009.  38h = G    .      .   1024x768    256      .    .  STB VGA/EM-16 Plus (1MB)
  1010.      = G 128x48     8x16 1024x768    256/256K  1   A000 Tseng ET4000 chipset
  1011.      = G    .      .   1024x768    256      .    .  Orchid ProDesigner II
  1012.      = G    .      .   1024x768    256      .    .  Compaq QVision 1024/1280
  1013.  39h = G    .      .   1280x1024     16      .    .  Compaq QVision 1280
  1014.  3Ah = G    .      .   1280x1024    256      .    .  Compaq QVision 1280
  1015.  3Bh = G    .      .    512x480    256      .    .  Compaq QVision 1024/1280
  1016.  3Ch = G    .      .    640x400     64K      .    .  Compaq QVision 1024/1280
  1017.  3Dh = G    .      .   1280x1024     16      .    .  Definicon
  1018.      = G 128x64     8x16 1280x1024     16      1   A000 Tseng ET4000 v3.00 [1,7]
  1019.  3Eh = G    .      .   1280x961     16      .    .  Definicon
  1020.      = G    .      .    640x480     64K      .    .  Compaq QVision 1024/1280
  1021.  3Fh = G    .      .   1280x1024 256      .    .  Hercules ??? (ET4000W32)
  1022.      = G    .      .    800x600     64K      .    .  Compaq QVision 1024/1280
  1023.  40h = T  80x43      .      .      .      .    .  VEGA VGA, Tecmar VGA/AD
  1024.      = T  80x43      .      .      .      .    .  Video7 V-RAM VGA
  1025.      = T  80x43      .      .      .      .    .  Tatung VGA
  1026.      = T 100x30      .      .     16      .    .  MORSE VGA
  1027.      = T 100x30      .      .      .      .    .  Cirrus 510/520 chipset
  1028.      = T  80x25      .    720x350    mono      .    .  Genoa SuperEGA BIOS 3.0+
  1029.      = G    .      .    320x200     64K      .    .  Avance Logic AL2101
  1030.      = G  80x25     8x16  640x400      2      1   B800 AT&T 6300, AT&T VDC600
  1031.      = G  80x25     8x16  640x400      2      1   B800 Olivetti Quaderno
  1032.      = G  80x25     8x16  640x400      2      1   B800 Compaq Portable
  1033.      = G    .      .   1024x768     64K      .    .  Compaq QVision 1280
  1034.  41h = T 132x25      .      .      .      .    .  VEGA VGA
  1035.      = T 132x25      .      .      .      .    .  Tatung VGA
  1036.      = T 132x25      .      .      .      .    .  Video7 V-RAM VGA
  1037.      = T 100x50      .      .     16      .    .  MORSE VGA
  1038.      = T 100x50      .      .      .      .    .  Cirrus 510/520 chipset
  1039.      = T  80x34     9x14  720x476     16/256K  .   B800 WD90C
  1040.      = T  80x34     9x14      .     16      .   B800 Diamond Speedstar 24X
  1041.      = G    .      .    512x512     64K      .    .  Avance Logic AL2101
  1042.      = G    .      .    640x200     16      1    .  AT&T 6300
  1043.      = G  80x25      .    720x348    mono      .   B000 Genoa SuperEGA BIOS 3.0+
  1044.  42h = T 132x43      .      .      .      .    .  VEGA VGA
  1045.      = T 132x43      .      .      .      .    .  Tatung VGA
  1046.      = T 132x43      .      .      .      .    .  Video7 V-RAM VGA
  1047.      = T  80x34     9x10      .      4      4   B800 Ahead B (Wizard/3270)
  1048.      = T 100x60      .      .     16      .    .  MORSE VGA
  1049.      = T 100x60      .      .      .      .    .  Cirrus 510/520 chipset
  1050.      = G  80x25     8x16  640x400     16      .    .  AT&T 6300, AT&T VDC600
  1051.      = G    .      .    640x400     64K      .    .  Avance Logic AL2101
  1052.      = G  80x25      .    720x348    mono      .   B800 Genoa SuperEGA BIOS 3.0+
  1053.  43h = T  80x60      .      .      .      .    .  VEGA VGA
  1054.      = T  80x60      .      .      .      .    .  Tatung VGA
  1055.      = T  80x60      .      .      .      .    .  Video7 V-RAM VGA
  1056.      = T  80x45     9x8      .      4      4   B800 Ahead B (Wizard/3270)
  1057.      = T 100x75      .      .     16      .    .  MORSE VGA
  1058.      = T  80x29      .    720x348    mono      .    .  Genoa SuperEGA BIOS 3.0+
  1059.      = G    .      . 640x200 of 640x400 viewport       AT&T 6300 (unsupported)
  1060.      = G    .      .    640x480     64K      .    .  Avance Logic AL2101
  1061.  44h =    disable VDC and DEB output        .  AT&T 6300
  1062.      = T 100x60      .      .      .      .    .  VEGA VGA
  1063.      = T 100x60      .      .      .      .    .  Tatung VGA
  1064.      = T 100x60      .      .      .      .    .  Video7 V-RAM VGA
  1065.      = T  80x32      .    720x352    mono      .    .  Genoa SuperEGA BIOS 3.0+
  1066.      = G    .      .    800x600     64K      .    .  Avance Logic AL2101
  1067.  45h = T 132x28      .      .      .      .    .  Tatung VGA
  1068.      = T 132x28      .      .      .      .    .  Video7 V-RAM VGA
  1069.      = T  80x44      .    720x352    mono      .    .  Genoa SuperEGA BIOS 3.0+
  1070.  46h = T 132x25     8x14      .    mono      .    .  Genoa 6400
  1071.      = T 132x25     9x14      .    mono      .    .  Genoa SuperEGA BIOS 3.0+
  1072.      = G 100x40     8x15  800x600      2      .    .  AT&T VDC600
  1073.  47h = T 132x29     8x12      .    mono      .    .  Genoa 6400
  1074.      = T 132x29     9x12      .    mono      .    .  Genoa SuperEGA BIOS 3.0+
  1075.      = T 132x28     9x16 1188x448     16/256K  .   B800 WD90C
  1076.      = T 132x28     9x16      .     16      .   B800 Diamond Speedstar 24X
  1077.      = G 100x37     8x16  800x600     16      .    .  AT&T VDC600
  1078.  48h = T 132x32     8x12      .    mono      .    .  Genoa 6400
  1079.      = T 132x32     9x11      .    mono      .    .  Genoa SuperEGA BIOS 3.0+
  1080.      = G  80x50     8x8   640x400      2      .   B800 AT&T 6300, AT&T VDC600
  1081.      = G  80x50     8x8   640x400      2      .   B800 Olivetti Quaderno
  1082.  49h = T 132x44     8x8      .    mono      .    .  Genoa 6400
  1083.      = T 132x44     9x8      .    mono      .    .  Genoa SuperEGA BIOS 3.0+
  1084.      = G  80x30     8x16  640x480      .      .    .  Lava Chrome II EGA
  1085.  4Dh = T 120x25      .      .      .      .    .  VEGA VGA
  1086.      = G    .      .    512x480     16M      .    .  Compaq QVision 1024/1280
  1087.  4Eh = T 120x43      .      .      .      .    .  VEGA VGA
  1088.      = T  80x60     8x8      .     16/256K  .   B800 Oak OTI-067/OTI-077 [8]
  1089.      = G    .      .    640x400     16M      .    .  Compaq QVision 1024/1280
  1090.  4Fh = T 132x25      .      .      .      .    .  VEGA VGA
  1091.      = T 132x60      .      .      .      .    .  some Oak Tech VGA [8]
  1092.      = G    .      .    640x480     16M      .    .  Compaq QVision 1280
  1093.  50h = T  80x30     8x16      .     16/256K  .   B800 Trident TVGA 8800/8900
  1094.      = T  80x34      .      .      .      .    .  Lava Chrome II EGA
  1095.      = T  80x43      .      .    mono      .    .  VEGA VGA
  1096.      = T 132x25     9x14      .    mono      .    .  Ahead Systems EGA2001
  1097.      = T 132x25     9x14      .      4      4   B800 Ahead B
  1098.      = T 132x25     8x14      .     16      8   B800 OAK Technologies VGA-16
  1099.      = T 132x25     8x14      .     16/256K  .   B800 Oak OTI-037/067/077 [8]
  1100.      = T 132x25     8x14 1056x350     16      8   B800 UM587 chipset
  1101.      = T 132x30      .      .     16      .    .  MORSE VGA
  1102.      = T 132x30      .      .      .      .    .  Cirrus 510/520 chipset
  1103.      = G  80x30     8x16  640x480     16      .    .  Paradise EGA-480
  1104.      = G  80x30     8x16  640x480     16      .    .  NEL Electronics BIOS
  1105.      = G    .      .    640x480    mono???      .    .  Taxan 565 EGA
  1106.      = G  40x25     8x8   320x200      .      .    .  Genoa SuperEGA BIOS 3.0+
  1107.  51h = T  80x30     8x16      .      .      .    .  Paradise EGA-480
  1108.      = T  80x30     9x16      .      .      .    .  NEL Electronics BIOS
  1109.      = T  80x30      .      .      .      .    .  Lava Chrome II EGA
  1110.      = T  80x43     8x11      .     16/256K  .   B800 Trident TVGA 8800/8900
  1111.      = T 132x25      .      .    mono      .    .  VEGA VGA
  1112.      = T 132x28     9x12      .      4      4   B800 Ahead B
  1113.      = T 132x43     8x8      .     16      5   B800 OAK Technologies VGA-16
  1114.      = T 132x43     8x8      .     16/256K  .   B800 Oak OTI-037/067/077
  1115.      = T 132x43     8x8  1056x344     16      5   B800 UM587 chipset
  1116.      = T 132x50      .      .     16      .    .  MORSE VGA
  1117.      = T 132x50      .      .      .      .    .  Cirrus 510/520 chipset
  1118.      = G  80x34     8x14  640x480     16      .    .  ATI EGA Wonder
  1119.      = G  80x25     8x8   640x200      .      .    .  Genoa SuperEGA BIOS 3.0+
  1120.  52h = T  80x60      .      .      .      .    .  Lava Chrome II EGA
  1121.      = T  80x60     8x8      .     16/256K  .   B800 Trident TVGA 8800/8900
  1122.      = T 132x43      .      .    mono      .    .  VEGA VGA
  1123.      = T 132x44     9x8      .    mono      .    .  Ahead Systems EGA2001
  1124.      = T 132x44     9x8      .      4      2   B800 Ahead B
  1125.      = T 132x60      .      .     16      .    .  MORSE VGA
  1126.      = T 132x60      .      .      .      .    .  Cirrus 510/520 chipset
  1127.      = G  80x25     8x19  640x480     16      1   A000 AX VGA (Kanji&superimpose)
  1128.      = G  94x29     8x14  752x410     16      .    .  ATI EGA Wonder
  1129.      = G 100x75     8x8   800x600     16      1   A000 OAK Technologies VGA-16
  1130.      = G 100x75     8x8   800x600     16      .   A000 Oak OTI-037 chipset [8]
  1131.      = G 100x37     8x16  800x600     16      .   A000 Oak OTI-067/077 chips [8]
  1132.      = G 100x75     8x8   800x600     16      .   A000 UM587 chipset
  1133.      = G 128x30     8x16 1024x480     16      .    .  NEL Electronics BIOS
  1134.  53h = T  80x25     8x16      .      .      .    .  NEL Electronics BIOS
  1135.      = T  80x60      .      .     16      .    .  MORSE VGA
  1136.      = T  80x60      .      .      .      .    .  Cirrus 510/520 chipset
  1137.      = T 132x25     8x14      .     16/256K  .   B800 Trident TVGA 8800/8900
  1138.      = T 132x43      .      .      .      .    .  Lava Chrome II EGA
  1139.      = G  80x25     8x19  640x480     16      1   A000 AX VGA (Kanji, no superimp.)
  1140.      = G    .      .    640x480    256      .    .  Oak VGA
  1141.      = G  80x30     8x16  640x480    256      .   A000 Oak OTI-067/OTI-077 [8]
  1142.      = G 100x40     8x14  800x560     16      .    .  ATI EGA Wonder,ATI VIP
  1143.      = G    .      .      .      .      .    .  AX PC
  1144.  54h = T 132x25      .      .      .      .    .  Lava Chrome II EGA
  1145.      = T 132x30     8x16      .     16/256K  .   B800 Trident TVGA 8800/8900
  1146.      = T 132x43     8x8      .      .      .    .  Paradise EGA-480
  1147.      = T 132x43     8x8      .      .      .    .  NEL Electronics BIOS
  1148.      = T 132x43     7x9      .     16/256K  .   B800 Paradise VGA
  1149.      = T 132x43     8x9      .     16/256K  .   B800 Paradise VGA on multisync
  1150.      = T 132x43      .      .      .      .    .  Taxan 565 EGA
  1151.      = T 132x43      .      .      .      .    .  AST VGA Plus
  1152.      = T 132x43      .      .      .      .    .  Hewlett-Packard D1180A
  1153.      = T 132x43     7x9      .     16      .    .  AT&T VDC600
  1154.      = T 132x43     9x9  1188x387     16/256K  .   B800 WD90C
  1155.      = T 132x43     9x9  1188x387     16/256K  .   B800 Diamond Speedstar 24X
  1156.      = T 132x43     9x9  1188x387     16/256K  .   B800 Diamond Stealth 24
  1157.      = T 132x43     8x8  1056x350     16/256K  .    .  Cirrus CL-GD5420/5422/5426
  1158.      = T 132x50     8x8      .     16      .   A000 NCR 77C22 [9]
  1159.      = G 100x42     8x14  800x600     16      .   A000 ATI EGA Wonder, VGA Wonder
  1160.      = G 100x42     8x14  800x600     16      .   A000 ATI Ultra 8514A, ATI XL
  1161.      = G    .      .    800x600    256      .   A000 Oak VGA
  1162.      = G 100x37     8x16  800x600    256      .   A000 Oak OTI-067/077 chips [8]
  1163.  55h = T  80x66     8x8      .     16/256K  .   A000 ATI VIP
  1164.      = T 132x25     8x14      .      .      .    .  Paradise EGA-480
  1165.      = T 132x25     8x14      .      .      .    .  NEL Electronics BIOS
  1166.      = T 132x25     7x16      .     16/256K  .   B800 Paradise VGA
  1167.      = T 132x25     8x16      .     16/256K  .   B800 Paradise VGA on multisync
  1168.      = T 132x25      .      .      .      .    .  Taxan 565 EGA
  1169.      = T 132x25      .      .      .      .    .  AST VGA Plus
  1170.      = T 132x25      .      .      .      .    .  Hewlett-Packard D1180A
  1171.      = T 132x25     7x16      .     16      .    .  AT&T VDC600
  1172.      = T 132x25     8x16      .     16      .   A000 NCR 77C22 [9]
  1173.      = T 132x25     9x16 1188x400     16/256K  .   B800 WD90C
  1174.      = T 132x25     9x16 1188x400     16/256K  .   B800 Diamond Speedstar 24X
  1175.      = T 132x25     9x16 1188x400     16/256K  .   B800 Diamond Stealth 24
  1176.      = T 132x25     8x14 1056x350     16/256K  .    .  Cirrus CL-GD5420/5422/5426
  1177.      = T 132x43     8x11      .     16/256K  .   B800 Trident TVGA 8800/8900
  1178.      = G  94x29     8x14  752x410      .      .    .  Lava Chrome II EGA
  1179.      = G 128x48     8x16 1024x768     16/256K  .   A000 ATI VGA Wonder v4+  [5]
  1180.      = G    .      .   1024x768     16/256K  .    .  ATI VGA Wonder Plus
  1181.      = G    .      .   1024x768     16/256K  .    .  ATI Ultra 8514A,ATI XL
  1182.      = G 128x48     8x16 1024x768      4      .   A000 Oak OTI-067/077 chips [8]
  1183.  56h = T 132x43     8x8      .      3???      2   B000 NSI Smart EGA+
  1184.      = T 132x43     7x9      .      4      .   B000 Paradise VGA
  1185.      = T 132x43     8x9      .      4      .   B000 Paradise VGA on multisync
  1186.      = T 132x43      .      .    mono      .    .  Taxan 565 EGA
  1187.      = T 132x43     7x9      .      2      .    .  AT&T VDC600
  1188.      = T 132x43     9x8      .      .      .    .  NEL Electronics BIOS
  1189.      = T 132x50     8x8      .      4      .   A000 NCR 77C22 [9]
  1190.      = T 132x60     8x8      .     16/256K  .   B800 Trident TVGA 8800/8900
  1191.      = G    .      .   1024x768     16      .   A000 Oak VGA
  1192.      = G 128x48     8x16 1024x768     16      .   A000 Oak OTI-067/077 chips [8]
  1193.  57h = T 132x25     8x14      .      3???      4   B000 NSI Smart EGA+
  1194.      = T 132x25     7x16      .      4      .   B000 Paradise VGA
  1195.      = T 132x25     8x16      .      4      .   B000 Paradise VGA on multisync
  1196.      = T 132x25     9x14      .      .      .    .  NEL Electronics BIOS
  1197.      = T 132x25      .      .    mono      .    .  Taxan 565 EGA
  1198.      = T 132x25     7x16      .      2      .    .  AT&T VDC600
  1199.      = T 132x25     9x14      .     16/256K  .   B800 Trident TVGA 8800/8900
  1200.      = T 132x25     8x16      .      4      .   A000 NCR 77C22 [9]
  1201.      = G  96x48     8x16  768x1024     16      .   A000 Oak OTI-067/077 chips [8]
  1202.  58h = T  80x33     8x14      .     16      .   B800 ATI EGA Wonder,ATI VIP
  1203.      = T  80x32     9x16      .     16      .    .  Genoa 6400
  1204.      = T  80x43     8x8      .      .      .    .  NEL Electronics BIOS
  1205.      = T 132x30     9x16      .     16/256K  .   B800 Trident TVGA 8800/8900
  1206.      = G 100x75     8x8   800x600     16/256K  .   A000 Paradise VGA
  1207.      = G 100x75     8x8   800x600     16      .    .  AT&T VDC600
  1208.      = G 100x75     8x8   800x600     16      .   A000 NCR 77C22 [9]
  1209.      = G 100x75     8x8   800x600     16      .    .  Diamond Speedstar 24X
  1210.      = G 100x75     8x8   800x600     16/256K  .   A000 Paradise VGA, WD90C
  1211.      = G    .      .    800x600     16      .    .  AST VGA Plus, Compaq VGA
  1212.      = G    .      .    800x600     16      .    .  Dell VGA
  1213.      = G    .      .    800x600     16      .    .  Hewlett-Packard D1180A
  1214.      = G    .      .    800x600    ???      .    .  ELT VGA PLUS 16
  1215.      = G 100x37     8x16  800x600     16/256K  .   A000 Cirrus CL-GD5420/5422/5426
  1216.      = G 160x64     8x16 1280x1024     16      .   A000 Oak OTI-077 chipset [8]
  1217.  59h = T  80x43     9x8      .      .      .    .  NEL Electronics BIOS
  1218.      = T  80x66     8x8      .     16/256K  .   A000 ATI VIP
  1219.      = T 132x43     9x11      .     16/256K  .   B800 Trident TVGA 8800/8900
  1220.      = G 100x75     8x8   800x600      2      .   A000 Paradise VGA
  1221.      = G 100x75     8x8   800x600      2      .    .  AT&T VDC600
  1222.      = G    .      .    800x600      2      .    .  AST VGA Plus, Compaq VGA
  1223.      = G    .      .    800x600      2      .    .  Dell VGA
  1224.      = G    .      .    800x600      2      .    .  Hewlett-Packard D1180A
  1225.      = G 100x75     8x8   800x600      2      .   A000 NCR 77C22 [9]
  1226.      = G 128x48     8x16 1024x768    256      .   A000 Oak OTI-077 chipset [8]
  1227.  5Ah = T  80x60     8x8      .      .      .    .  NEL Electronics BIOS
  1228.      = T 132x60     9x8      .     16/256K  .   B800 Trident TVGA 8800/8900
  1229.      = G 128x48     8x16 1024x768      2      .   A000 NCR 77C22 [9]
  1230.  5Bh = T  80x30     8x16      .      .      .   B800 ATI VGA Wonder (undoc)
  1231.      = G    .      .    640x350    256      .    .  Genoa 6400
  1232.      = G  80x25     8x16  640x400     32K      .   A000 Oak OTI-067/077 chips [8]
  1233.      = G    .      .    800x600     16      .    .  Maxxon, SEFCO TVGA, Imtec
  1234.      = G 100x75     8x8   800x600     16/256K  .   A000 Trident TVGA 8800, 8900
  1235.      = G    .      .    800x600    ???      .    .  Vobis MVGA
  1236.      = G 100x37     8x16  800x600      .      .    .  NEL Electronics BIOS
  1237.      = G 128x48     8x16 1024x768     16      .   A000 NCR 77C22 [1,9]
  1238.  5Ch = T 100x37     8x16      .      .      .    .  NEL Electronics BIOS
  1239.      = G    .      .    640x400    256      .    .  Logix, ATI Prism Elite
  1240.      = G    .      .    640x400    256      .    .  Maxxon, SEFCO TVGA, Imtec
  1241.      = G  80x25     8x16  640x400    256/256K  .   A000 Zymos Poach, Hi Res 512
  1242.      = G  80x25     8x16  640x400    256/256K  .   A000 Trident TVGA 8800/8900
  1243.      = G  80x30     8x16  640x480    256      .    .  Genoa 6400
  1244.      = G  80x30     8x16  640x480     32K      .   A000 Oak OTI-077 chipset [8]
  1245.      = G 100x75     8x8   800x600    256      .   A000 NCR 77C22 [9]
  1246.      = G 100x75     8x8   800x600    256/256K  .   A000 WD90C
  1247.      = G 100x75     8x8   800x600    256/256K  .   A000 Diamond Speedstar 24X
  1248.      = G 100x37     8x16  800x600    256/256K  .   A000 Cirrus CL-GD5420/5422/5426
  1249.  5Dh = T 100x75     8x8      .      .      .    .  NEL Electronics BIOS
  1250.      = G  80x25     8x14  640x350     64K      .    .  STB Lightspeed ET4000/W32P
  1251.      = G    .      .    640x480    256      .    .  Logix, ATI Prism Elite
  1252.      = G    .      .    640x480    256      .    .  Maxxon, SEFCO TVGA, Imtec
  1253.      = G  80x30     8x16  640x480    256/256K  .   A000 Zymos Poach, Hi Res 512
  1254.      = G  80x30     8x16  640x480    256/256K  .   A000 Trident TVGA 8800 (512K)
  1255.      = G 128x48     8x16 1024x768     16      .   A000 NCR 77C22 [9]
  1256.      = G 128x48     8x16 1024x768     16/256K  .   A000 WD90C
  1257.      = G 128x48     8x16 1024x768     16      .    .  Diamond Speedstar 24X
  1258.      = G 128x48     8x16 1024x768     16/256K  .   A000 Cirrus CL-GD5420/5422/5426
  1259.  5Eh = G    .      .    640x400    256      .    .  Paradise VGA,VEGA VGA
  1260.      = G    .      .    640x400    256      .    .  AST VGA Plus, NCR 77C22
  1261.      = G    .      .    640x400    256      .    .  Compaq VGA, Dell VGA
  1262.      = G  80x25     8x16  640x400    256      .    .  AT&T VDC600
  1263.      = G  80x25     8x16  640x400    256      .   A000 NCR 77C22 [9]
  1264.      = G  80x25     8x16  640x400    256/256K  .   A000 WD90C
  1265.      = G  80x25     8x16  640x400    256/256K  .   A000 Diamond Speedstar 24X
  1266.      = G    .      .    800x600     16      .    .  Logix, ATI Prism Elite
  1267.      = G 100x37     8x16  800x600     16      .    .  NEL Electronics BIOS
  1268.      = G 100x75     8x8   800x600    256      .    .  Genoa 6400
  1269.      = G 100x75     8x8   800x600    256/256K  .   A000 Zymos Poach, Trident 8900
  1270.      = G 100x75     8x8   800x600    256/256K  .   A000 Hi Res 512
  1271.  5Fh = G  80x25     8x16  640x400     64K      .    .  STB Lightspeed ET4000/W32P
  1272.      = G    .      .    640x480    256      .    .  Paradise VGA
  1273.      = G    .      .    640x480    256      .    .  AST VGA Plus, NCR 77C22
  1274.      = G    .      .    640x480    256      .    .  Compaq VGA, Dell VGA
  1275.      = G    .      .    640x480    256      .    .  Hewlett-Packard D1180A
  1276.      = G  80x30     8x16  640x480    256      .    .  AT&T VDC600 (512K)
  1277.      = G  80x30     8x16  640x480    256      .   A000 NCR 77C22 [9]
  1278.      = G  80x30     8x16  640x480    256/256K  .   A000 WD90C
  1279.      = G  80x30     8x16  640x480    256/256K  .   A000 Diamond Speedstar 24X
  1280.      = G  80x30     8x16  640x480    256/256K  .   A000 Cirrus CL-GD5420/5422/5426
  1281.      = G    .      .   1024x768     16      .    .  Logix, ATI Prism Elite
  1282.      = G    .      .   1024x768     16      .    .  Maxxon, Imtec
  1283.      = G 128x48     8x16 1024x768     16      .    .  Genoa 6400
  1284.      = G 128x48     8x16 1024x768     16/256K  .   A000 Zymos Poach, Hi Res 512
  1285.      = G 128x48     8x16 1024x768     16/256K  .   A000 Trident TVGA 88/8900 512K
  1286.  60h = T 132x25     8x14      .     16/64      8   B800 Quadram Ultra VGA
  1287.      = T 132x25     8x14      .     16      .    .  Genoa 6400
  1288.      = T 132x25     8x14      .     16      .    .  Genoa SuperEGA BIOS 3.0+
  1289.      = T 132x25      .      .      .      .    .  Cirrus 5320 chipset
  1290.      = T 132x25      .      .     16      .    .  Chips&Technologies chipset
  1291.      = G  80x???  .    ???x400      .      .    .  Corona/Cordata BIOS 4.10+
  1292.      = G  80x25     8x16  640x400    256      1   A000 Ahead A, Ahead B
  1293.      = G    .      .    752x410      .      .    .  VEGA VGA
  1294.      = G    .      .    752x410     16      .    .  Tatung VGA
  1295.      = G    .      .    752x410     16      .    .  Video7 V-RAM VGA
  1296.      = G 128x48     8x16 1024x768      4/256K  .   A000 Trident TVGA 8900
  1297.      = G 128x48     8x16 1024x768    256/256K  .   A000 WD90C
  1298.      = G 128x48     8x16 1024x768    256/256K  .   A000 Diamond Speedstar 24X
  1299.      = G 128x48     8x16 1024x768    256/256K  .   A000 Cirrus CL-GD5420/5422/5426
  1300.  61h = T 132x29     8x12      .     16/64      8   B800 Quadram Ultra VGA
  1301.      = T 132x29     8x8      .     16      .    .  Genoa 6400
  1302.      = T 132x29     8x8      .     16      .    .  Genoa SuperEGA BIOS 3.0+
  1303.      = T 132x50      .      .      .      .    .  Cirrus 5320 chipset
  1304.      = T 132x50      .      .     16      .    .  Chips&Technologies chipset
  1305.      = G    .      .    ???x400      .      .    .  Corona/Cordata BIOS 4.10+
  1306.      = G  80x25     8x16  640x400    256      .   A000 ATI VGA Wonder,VGA Wonder+
  1307.      = G  80x25     8x16  640x400    256      .   A000 ATI Ultra 8514A,ATI XL
  1308.      = G  80x30     8x16  640x480    256      1   A000 Ahead A, Ahead B (512K)
  1309.      = G    .      .    720x540      .      .    .  VEGA VGA
  1310.      = G    .      .    720x540     16      .    .  Tatung VGA
  1311.      = G    .      .    720x540     16      .    .  Video7 V-RAM VGA
  1312.      = G  96x64     8x16  768x1024     16/256K  .   A000 Trident TVGA 88/8900 512K
  1313.      = G 128x48     8x16 1024x768    256      .   A000 NCR 77C22 [1,9]
  1314.  62h = T 132x32     8x11      .     16/64      6   B800 Quadram Ultra VGA
  1315.      = T 132x32     8x12      .     16      .    .  Genoa 6400
  1316.      = T 132x32     8x11      .     16      .    .  Genoa SuperEGA BIOS 3.0+
  1317.      = G    .      .    640x450     16      .    .  Cirrus 510/520 chipset
  1318.      = G  80x30     8x16  640x480    256      .   A000 ATI VGA Wonder,VGA Wonder+
  1319.      = G  80x30     8x16  640x480    256      .   A000 ATI Ultra 8514A,ATI XL
  1320.      = G  80x30     8x16  640x480    32K      .   A000 WD90C
  1321.      = G  80x30     8x16  640x480    32K      .   A000 Diamond Speedstar 24X
  1322.      = G    .      .    800x600      .      .    .  VEGA VGA
  1323.      = G    .      .    800x600     16      .    .  Tatung VGA
  1324.      = G    .      .    800x600     16      .    .  Video7 V-RAM VGA
  1325.      = G 100x75     8x8   800x600    256      1   A000 Ahead A, Ahead B (512K)
  1326.      = G 128x48     8x16 1024x768    256/256K  .   A000 Trident TVGA 8900, Zymos
  1327.      = G 128x48     8x16 1024x768    256      .   A000 NCR 77C22 [9]
  1328.  63h = T 132x44     8x8      .     16/64      5   B800 Quadram Ultra VGA
  1329.      = T 132x44     8x8      .     16      .    .  Genoa 6400
  1330.      = T 132x44     8x8      .     16      .    .  Genoa SuperEGA BIOS 3.0+
  1331.      = G    .      .    720x540     16      .    .  MORSE VGA
  1332.      = G    .      .    720x540     16      .    .  Cirrus 510/520 chipset
  1333.      = G 100x42     8x14  800x600    256      .   A000 ATI VGA Wonder,VGA Wonder+
  1334.      = G 100x42     8x14  800x600    256      .   A000 ATI Ultra 8514A,ATI XL
  1335.      = G    .      .    800x600    32K      .   A000 WD90C
  1336.      = G    .      .    800x600    32K      .   A000 Diamond Speedstar 24X
  1337.      = G 128x48     7x16 1024x768    256      1   A000 Ahead B (1MB)
  1338.      = G    .      .   1024x768      2      .    .  Video7 V-RAM VGA
  1339.  64h = T 132x60     8x8      .     16      .    .  Genoa 6400
  1340.      = G    .      .    640x480    64K      .   A000 Cirrus CL-GD 5422/5426
  1341.      = G    .      .    800x600     16      .    .  MORSE VGA
  1342.      = G    .      .    800x600     16      .    .  Cirrus 510/520 chipset
  1343.      = G    .      .    800x600    ???      .    .  SAMPO-Mira VGA
  1344.      = G    .      .   1024x768      4      .    .  Video7 V-RAM VGA
  1345.      = G 128x48     8x16 1024x768    256      .   A000 ATI VGA Wonder Plus,ATI XL
  1346.      = G 160x64     8x16 1280x1024     16/256K  .   A000 WD90C [1]
  1347.      = G 160x64     8x16 1280x1024     16/256K  .   A000 Diamond Speedstar 24X [1]
  1348.  65h = G    .      .    800x600    64K      .   A000 Cirrus CL-GD 5422/5426
  1349.      = G    .      .   1024x768     16      .    .  Video7 V-RAM VGA
  1350.      = G 128x48     8x16 1024x768     16      .   A000 ATI VGA Wonder
  1351.  66h = T  80x50     8x8   640x400     16/256K  .   B800 WD90C
  1352.      = T  80x50     8x8      .     16      .   B800 Diamond Speedstar 24X
  1353.      = G    .      .    640x400    256      .    .  Tatung VGA
  1354.      = G    .      .    640x400    256      .    .  Video7 V-RAM VGA
  1355.      = G    .      .    640x480    32K      .   A000 Cirrus CL-GD 5422/5426
  1356.  67h = T  80x43     8x8   640x344     16/256K  .   B800 WD90C
  1357.      = T  80x43     8x8      .     16      .   B800 Diamond Speedstar 24X
  1358.      = G    .      .    640x480    256      .    .  Video7 V-RAM VGA
  1359.      = G    .      .    800x600    32K      .   A000 Cirrus CL-GD 5422/5426
  1360.      = G 128x48     8x16 1024x768      4      .   A000 ATI VGA Wonder
  1361.      = G 160x64     8x16 1280x1024     16      .   A000 NCR 77C22 [1,9]
  1362.  69h = T 132x50     8x8  1056x400     16/256K  .   B800 WD90C
  1363.      = T 132x50     8x8      .     16      .   B800 Diamond Speedstar 24X
  1364.      = G    .      .    720x540    256      .    .  Video7 V-RAM VGA
  1365.  6Ah = G    .      .    800x600     16      .   A000 VESA standard interface
  1366.      = G 100x75     8x8   800x600     16      .    .  Genoa 6400
  1367.      = G 100x75     8x8   800x600     16      .    .  Diamond Speedstar 24X
  1368.      = G    .      .    800x600     16      .   A000 Ahead A
  1369.      = G 100x75     8x8   800x600     16      1   A000 Ahead B (VESA) (see 71h)
  1370.      = G    .      .    800x600     16      .    .  Zymos Poach, Hi Res 512
  1371.      = G    .      .    800x600     16      .    .  Epson LT-386SX in CRT Mode
  1372.      = G    .      .    800x600     16      .    .  Compuadd 316SL in CRT Mode
  1373.      = G 100x37     8x16  800x600     16/256K  .   A000 Cirrus CL-GD5420/5422/5426
  1374.      = G 100x42     8x14  800x600      .      .   A000 ATI VGA Wonder (undoc)
  1375.      = G    .      .    800x600     16      .    .  Chips&Technologies chipset
  1376.      = G 160x64     8x16 1280x1024 256      .   A000 NCR 77C22 [1,9]
  1377.  6Bh = T 100x37     8x16      .     16      .    .  Genoa 6400
  1378.      = T 100x37     8x16      .      .      .    .  NEL Electronics BIOS
  1379.  6Ch = G  80x30     8x16  640x480     16M      .   A000 Trident 8900CL/BIOS C04
  1380.      = G 100x75     8x8   800x600    256      .    .  Genoa 6400
  1381.      = G 160x60     8x16 1280x960     16/256K  .   A000 WD90C [1]
  1382.      = G 160x60     8x16 1280x960     16/256K  .   A000 Diamond Speedstar 24X [1]
  1383.      = G 160x64     8x16 1280x1024     16/256K  .   A000 Cirrus CL-GD 5422/5426 [1]
  1384.  6Dh = G  80x25     8x14  640x350     64K      .    .  STB Lightspeed ET4000/W32P
  1385.      = G 160x64     8x16 1280x1024 256/256K  .   A000 Cirrus CL-GD 5422/5426 [1]
  1386.  6Eh = G  40x25     8x8   320x200     64K      .   A000 Cirrus CL-GD 5422/5426
  1387.  6Fh = G  40x25     8x8   320x200     16M      .   A000 Cirrus CL-GD 5422/5426
  1388.  70h =    extended mode set (see AX=0070h)    .  Everex Micro Enhancer EGA
  1389.      = T  40x25     8x8      .     16      8   B800 Quadram (CGA double scan)
  1390.      = T  40x25     8x8   (CGA dblscan)      .    .  Genoa SuperEGA BIOS 3.0+
  1391.      = G    .      .    360x480    256      .    .  Cirrus 510/520/5320 chips
  1392.      = G  90x28     8x14  720x392     16      1   A000 Ahead B
  1393.      = G    .      .    800x600     16      .    .  C&T chipset, Cardinal
  1394.      = G    .      .   1024x480    256      .    .  Trident 8900C BIOS C3.0
  1395.  71h = T  80x25     8x8      .     16      8   B800 Quadram (CGA double scan)
  1396.      = T  80x25     8x8   (CGA dblscan)      .    .  Genoa SuperEGA BIOS 3.0+
  1397.      = G    .      .    528x400    256      .    .  Cirrus 510/520 chipset
  1398.      = G  80x30     8x16  640x480     16M      .   A000 Cirrus CL-GD 5422/5426
  1399.      = G 100x35     8x16  800x600     16/64      .   A000 NSI Smart EGA+
  1400.      = G 100x75     8x8   800x600     16      1   A000 Ahead B (same as 6Ah)
  1401.      = G    .      .    960x720     16      .    .  C&T chipset, Cardinal
  1402.      = G    .      .   1024x480    256      .    .  Trident 8900C BIOS C3.0
  1403.  72h = T  80x60     8x8      .     16      .   B800 Quadram Ultra VGA
  1404.      = T  80x60     8x8      .     16      .   B800 Genoa 6400
  1405.      = T  80x60     8x8      .     16      .   B800 Genoa SuperEGA BIOS 3.0+
  1406.      = G    .      .    528x480    256      .    .  Cirrus 510/520 chipset
  1407.      = G  80x25     8x19  640x480     16      1   A000 DOS/V w/ any VGA
  1408.      = G    .      .    640x480    32K      .   A000 ATI
  1409.      = G    .      .    640x480    16M      .   A000 WD90C
  1410.      = G    .      .    640x480    16M      .   A000 Diamond Speedstar 24X
  1411.      = G    .      .   1024x768     16      .    .  C&T chipset, Cardinal
  1412.  73h = G  80x60     8x8   640x480     16      .   A000 Quadram Ultra VGA
  1413.      = G  80x60     8x8   640x480     16      .    .  Genoa 6400
  1414.      = G  80x60     8x8   640x480     16      .    .  Genoa SuperEGA BIOS 3.0+
  1415.      = T  80x25     8x19  640x475     16      1   none DOS/V, emulated in VGA graph
  1416.  74h = T  80x66     8x8      .     16      .   B800 Quadram Ultra VGA
  1417.      = T  80x66     8x8      .     16      .   B800 Genoa 6400
  1418.      = T  80x66     8x8      .     16      .   B800 Genoa SuperEGA BIOS 3.0+
  1419.      = G    .      .    640x400      2      .   B800 Toshiba 3100 AT&T mode
  1420.      = G  80x30     8x16  640x480     32K      .   A000 Trident 8900C/BIOS C03
  1421.      = G 128x48     8x16 1024x768     16      1   A000 Ahead A, Ahead B (512K)
  1422.      = G    .      .   1024x768     64K      .   A000 Cirrus CL-GD 5422/5426 [1]
  1423.  75h = G  80x30     8x16  640x480     64K      .   A000 Trident 8900C/BIOS C03
  1424.      = G  80x66      .    640x528     16???      .   A000 Quadram Ultra VGA
  1425.      = G  80x66      .    640x528     16      .    .  Genoa SuperEGA BIOS 3.0+
  1426.      = G 128x48     8x16 1024x768      4      1   A000 Ahead B
  1427.  76h = T  94x29     8x14      .     16      .   B800 Quadram Ultra VGA
  1428.      = T  94x29     8x14      .      .      .    .  Genoa SuperEGA BIOS 3.0+
  1429.      = G 100x75     8x8   800x600     32K      .   A000 Trident 8900C/BIOS C03
  1430.      = G 128x48     8x16 1024x768      2      1   A000 Ahead B
  1431.  77h = G  94x29      .    752x410     16???      .   A000 Quadram Ultra VGA
  1432.      = G  94x29      .    752x410     16      .    .  Genoa SuperEGA BIOS 3.0+
  1433.      = G 100x75     8x8   800x600     64K      .   A000 Trident 8900C/BIOS C03
  1434.  78h = T 100x37     8x16      .     16      .    .  Genoa 6400
  1435.      = T 100x75     8x8      .     16      .   B800 Quadram Ultra VGA
  1436.      = T 100x75     8x8      .      .      .    .  Genoa SuperEGA BIOS 3.0+
  1437.      = G    .      .    640x400    256      .    .  STB VGA/EM-16 Plus
  1438.      = G    .      .    640x400    256      .    .  Cardinal, C&T chipset
  1439.      = G    .      .    640x400    256      .    .  Cirrus 5320 chipset
  1440.  79h = G    .      .    640x480    256      .    .  Cardinal, C&T chipset
  1441.      = G 100x75      .    800x600     16???      .   A000 Quadram Ultra VGA
  1442.      = G 100x75     8x8   800x600     16      .    .  Genoa SuperEGA BIOS 3.0+
  1443.      = G 100x75     8x8   800x600     16      .    .  Genoa 6400
  1444.  7Ah = T 114x60     8x8      .     16      .   B800 Quadram Ultra VGA
  1445.      = T 114x60     8x8      .      .      .    .  Genoa SuperEGA BIOS 3.0+
  1446.      = G    .      .    720x540    256      .    .  C&T chipset, Cardinal
  1447.  7Bh = G    .      .    800x600    256      .    .  C&T chipset, Cardinal
  1448.      = G 114x60      .    912x480     16???      .   A000 Quadram Ultra VGA
  1449.      = G    .      .    912x480     16      .    .  Genoa SuperEGA BIOS 3.0+
  1450.  7Ch = G    .      .    512x512     16      .    .  Genoa
  1451.      = G    .      .    800x600    256      .    .  C&T 82C453 chipset
  1452.  7Dh = G  64x32     8x16  512x512    256      .    .  Genoa
  1453.  7Eh =    special mode set (see AX=007Eh)        .  Paradise VGA, AT&T VDC600
  1454.      = G  80x25     8x16  640x400    256      .    .  Genoa 6400
  1455.      = G    .      .   1024x768    256      .    .  C&T 82C453 chipset
  1456.      = G  90x43      .      .    mono      .   B000 HERCULES.COM on HGC [14]
  1457.  7Fh =    special function set (see AX=007Fh)    .  Paradise VGA, AT&T VDC600
  1458.      = G 128x48     8x16 1024x768      4      .    .  Genoa 6400
  1459.      = G  90x29      .      .    mono      .   B000 HERCULES.COM on HGC [14]
  1460.  82h = T  80x25      .      .    B&W      .    .  AT&T VDC overlay mode [6]
  1461.  83h = T  80x25      .      .      .      .    .  AT&T VDC overlay mode [6]
  1462.  86h = G    .      .    640x200    B&W      .    .  AT&T VDC overlay mode [6]
  1463.  88h = G  90x43     8x8   720x348    mono      .   B000 Hercules + MSHERC.COM
  1464.  C0h = G    .      .    640x400    2/prog palette    .  AT&T VDC overlay mode [6]
  1465.      = G    .      .    640x400    2/prog palette    .  Olivetti Quaderno overlay
  1466.  C4h =    disable output      .      .      .    .  AT&T VDC overlay mode [6]
  1467.  C8h = G  80x50     8x8   640x400      2      .   B800 Olivetti Quaderno overlay
  1468.  D0h = G    .      .    640x400      2      .   B800 DEC VAXmate AT&T mode
  1469. Notes:
  1470. [1] interlaced only
  1471. [2] for ATI EGA Wonder, mode 08h is only valid if SMS.COM is loaded resident.
  1472.       SMS maps mode 08h to mode 27h if the byte at location 0040:0063 is 0B4h,
  1473.       otherwise to mode 23h, thus selecting the appropriate (monochrome or
  1474.       color) 132x25 character mode.
  1475.     for ATI VGA Wonder, mode 08h is the same, and only valid if VCONFIG loaded
  1476.       resident
  1477. [3] early XGA boards support 132-column text but do not have this BIOS mode
  1478. [4] DESQview intercepts calls to change into these two modes (21h is page 0,
  1479.       22h is page 1) even if there is no Hercules graphics board installed
  1480. [5] ATI BIOS v4-1.00 has a text-scrolling bug in this mode
  1481. [6] for AT&T VDC overlay modes, BL contains the DEB mode, which may be 06h,
  1482.       40h, or 44h
  1483. [7] BIOS text support is broken in this undocumented mode; scrolling moves only
  1484.       about 1/3 of the screen (and does even that portion incorrectly), while
  1485.       screen clears only clear about 3/4.
  1486. [8] The Oak OTI-037/067/077 modes are present in the Oak VGA BIOS, which OEMs
  1487.       may choose to use only partially or not at all; thus, not all Oak boards
  1488.       support all "Oak" modes listed here
  1489. [9] this card uses the full 128K A000h-BFFFh range for the video buffer,
  1490.       precluding the use of a monochrome adapter in the same system
  1491. [10] mode 17h supported by Tseng ET4000 BIOS 8.01X dated 09/14/90, but not
  1492.       v8.01X dated 02/28/92; mode 21h supported by 02/28/92 version but not
  1493.       09/14/90 version
  1494. [11] HERKULES simulates a 90x45 text mode in Hercules graphics mode; the
  1495.       installation check for HERKULES.COM is the signature "Herkules" two bytes
  1496.       beyond the INT 10 handler
  1497. [12] The Realtek RTVGA BIOS v3.C10 crashes when attempting to switch into modes
  1498.       21h or 27h; this version of the BIOS also sets the BIOS data area
  1499.       incorrectly for extended text modes, resulting in scrolling after only
  1500.       24 lines (the VMODE.EXE    utility does set the data area correctly)
  1501. [13] The Tandy 1000SL/TL BIOS does not actually support this mode
  1502. [14] HERCULES.COM is a graphics-mode BIOS extension for Hercules-compatible
  1503.       graphics cards by Soft Warehouse, Inc.  Its installation check is to
  1504.       test whether the word preceding the INT 10 handler is 4137h.
  1505. Index:    video modes
  1506. Index:    installation check;HERKULES|installation check;HERCULES.COM
  1507. --------V-100070-----------------------------
  1508. INT 10 - VIDEO - Everex Micro Enhancer EGA/Viewpoint VGA - EXTENDED MODE SET
  1509.     AX = 0070h
  1510.     BL = mode (see #0010)
  1511. Desc:    specify a proprietary display mode on the Everex Micro Enhancer or
  1512.       Viewpoint video adapters
  1513. SeeAlso: AH=00h,AX=6F05h,AX=7000h/BX=0004h,AH=FFh"GO32"
  1514.  
  1515. (Table 0010)
  1516. Values for Everex video mode:
  1517.      text/ text pixel    pixel    colors disply scrn monitor    adapter
  1518.      grph resol     box  resolution       pages  addr
  1519.  00h = G    .      .    640x480     16      .    .  multisync  EGA,VGA
  1520.  01h = G    .      .    752x410     16      .    .  multisync  EGA,VGA
  1521.  02h = G    .      .    800x600     16      .    .  multisync  EGA,VGA
  1522.  03h = T  80x34      .      .      .      .    .  multisync  EGA,VGA
  1523.  04h = T  80x60      .      .      .      .    .  multisync  EGA,VGA
  1524.  05h = T  94x29      .      .      .      .    .  multisync  EGA only
  1525.  06h = T  94x51      .      .      .      .    .  multisync  EGA only
  1526.  07h = T 100x43     8x14      .     16      .    .  .          VGA only
  1527.  08h = T 100x75     8x8      .     16      .    .  .          VGA only
  1528.  09h = T  80x44      .      .      .      .    .  EGA          EGA only
  1529.  0Ah = T 132x25      .      .      .      .    .  EGA          EGA,VGA
  1530.  0Bh = T 132x44      .      .      .      .    .  EGA          EGA,VGA
  1531.  0Ch = T 132x25      .      .      .      .    .  CGA          EGA only
  1532.  0Dh = T  80x44      .      .      .      .    .  mono          EGA only
  1533.  0Eh = T 132x25      .      .      .      .    .  mono
  1534.  0Fh = T 132x44      .      .      .      .    .  mono
  1535.  10h =    reserved
  1536.  11h = G    .      .   1280x350      4      .    .  .          EGA only
  1537.  12h = G    .      .   1280x600      4      .    .  .          EGA only
  1538.  13h = G    .      .    640x350    256      .    .  .          EGA,EV673
  1539.  14h = G    .      .    640x400    256      .    .  .
  1540.  15h = G    .      .    512x480    256      .    .  .
  1541.  16h = T  80x30     8x16      .    256      .    .  .          VGA only
  1542.  18h = T 100x27     8x16      .     16      .    .  .          VGA only
  1543.  20h = G    .      .   1024x768     16      .    .  .          Everex 629,678
  1544.         .      .      .      .      .    .  .          Everex EV-673
  1545.  21h = T 160x64     8x16 1280x1024     16      .    .  .          1MB VGA only
  1546.  30h = G    .      .    640x480    256      .    .  .          Everex 629,678
  1547.         .      .      .      .      .    .  .          Everex EV-673
  1548.  31h = G    .      .    800x600    256      .    .  .          Everex 629,678
  1549.         .      .      .      .      .    .  .          Everex EV-673
  1550.  32h = G 128x48     8x16 1024x768    256      .    .  .          1MB VGA only
  1551.  40h = T 132x30     8x16      .     16      .    .  .          VGA only
  1552.  50h = T 132x32     8x16      .    mono      .    .  .          VGA only
  1553.  62h = G  40x25     8x8   320x200    32K      .    .  .          Vwpt TC (EV629)
  1554.  70h = G  64x30     8x16  512x480    32K      .    .  .          Viewpoint TC
  1555.  71h = G  80x30     8x16  640x480    32K      .    .  .          Viewpoint TC
  1556.  76h = G  64x30     8x16  512x480    16M      .    .  .          Viewpoint TC
  1557.  77h = G  80x30     8x16  640x480    16M      .    .  .          Viewpoint TC
  1558. Index:    video modes;Everex
  1559. --------V-10007E-----------------------------
  1560. INT 10 - VIDEO - Paradise VGA, AT&T VDC600 - SET SPECIAL MODE
  1561.     AX = 007Eh
  1562.     BX = horizontal dimension of the mode desired
  1563.     CX = vertical dimension of the mode desired
  1564.         (both BX/CX in pixels for graphics modes, rows for alpha modes)
  1565.     DX = number of colors of the mode desired (0000h for monochrome modes)
  1566. Return: BH = 7Eh if successful (Paradise VGA)
  1567.     AL = 7Eh if successful (AT&T VDC600)
  1568. Desc:    specify a display mode by resolution rather than mode number
  1569. SeeAlso: AH=00h,AX=0070h,AX=007Fh,AX=6F05h,AH=FFh"GO32"
  1570. Index:    video modes;Paradise|video modes;AT&T
  1571. --------V-10007FBH00-------------------------
  1572. INT 10 - VIDEO - Paradise VGA, AT&T VDC600 - SET VGA OPERATION
  1573.     AX = 007Fh
  1574.     BH = 00h
  1575. Return: AL = 7Fh if successful (AT&T VDC600)
  1576.     BH = status (Paradise/Dell)
  1577.         00h invalid function
  1578.         7Fh successful
  1579. SeeAlso: AX=007Fh/BH=01h,AX=007Fh/BH=02h
  1580. --------V-10007FBH01-------------------------
  1581. INT 10 - VIDEO - Paradise VGA, AT&T VDC600 - SET NON-VGA OPERATION
  1582.     AX = 007Fh
  1583.     BH = 01h
  1584. Return: AL = 7Fh if successful (AT&T VDC600)
  1585.     BH = status (Paradise/Dell)
  1586.         00h invalid function
  1587.         7Fh successful
  1588. Note:    color modes (0,1,2,3,4,5,6) will set non-VGA CGA operation, monochrome
  1589.       mode 7 will set non-VGA MDA/Hercules operation
  1590. SeeAlso: AX=007Fh/BH=00h,AX=007Fh/BH=02h
  1591. --------V-10007FBH02-------------------------
  1592. INT 10 - VIDEO - Paradise VGA, AT&T VDC600 - QUERY MODE STATUS
  1593.     AX = 007Fh
  1594.     BH = 02h
  1595. Return: AL = 7Fh if successful (AT&T VDC600)
  1596.     BH = status (Paradise/Dell)
  1597.         00h invalid function
  1598.         7Fh successful
  1599.     ---if successful---
  1600.     BL = 00h if operating in VGA mode, 01h if non-VGA mode
  1601.     CH = total video RAM size in 64k byte units
  1602.     CL = video RAM used by the current mode
  1603. Note:    under Novell DOS 7 TaskMgr Multitasker, this call always returns 0K
  1604.       video memory in BX
  1605. SeeAlso: AX=007Fh/BH=00h,AX=007Fh/BH=01h
  1606. --------V-10007F-----------------------------
  1607. INT 10 - VIDEO - Paradise VGA, AT&T VDC600 - EXTENDED FUNCTIONS
  1608.     AX = 007Fh
  1609.     BH = function
  1610.         03h     lock current mode
  1611.         allows current mode (VGA or non-VGA) to survive re-boot
  1612.         04h     enter MDA mode
  1613.         05h     enter CGA mode
  1614.         06h     enter monochrome VGA mode (also switches to video mode 7)
  1615.         07h     enter color VGA mode (also switches to video mode 3)
  1616.         0Ah,0Bh,0Ch,0Dh,0Eh,0Fh  WRITE PARADISE REGISTERS 0,1,2,3,4,5
  1617.         (port 03CEh indices 0Ah,0Bh,0Ch,0Dh,0Eh,0Fh)
  1618.         BL = value to set in the paradise register
  1619.         1Ah,1Bh,1Ch,1Dh,1Eh,1Fh READ PARADISE REGISTERS 0,1,2,3,4,5
  1620.         (port 03CEh indices 0Ah,0Bh,0Ch,0Dh,0Eh,0Fh)
  1621.         Return: BL = value of the paradise register
  1622.             BH = 7Fh if successful
  1623.         29h-2Fh ??? (Paradise VGA for Dell, 7/24/91)
  1624. Return: AL = 7Fh if successful (AT&T VDC600)
  1625.     BH = status (Paradise/Dell)
  1626.         00h invalid function
  1627.         7Fh successful
  1628. Desc:    set emulation mode or access proprietary extended data registers
  1629. SeeAlso: AX=007Eh,AH=FF"Oak"
  1630. --------V-10007FBH60-------------------------
  1631. INT 10 - Paradise VGA - ???
  1632.     AX = 007Fh
  1633.     BH = 60h
  1634.     BL = ??? (00h-13h)
  1635.     ???
  1636. Return: BH = status (00h failed or not supported, 7Fh successful)
  1637.     ???
  1638. Note:    this function is supported by the 5/14/93 ROM for the Dell 486D
  1639. --------V-10007FBH61-------------------------
  1640. INT 10 - Paradise VGA - ???
  1641.     AX = 007Fh
  1642.     BH = 61h
  1643.     ES:DI -> buffer for list of ??? (see #0011)
  1644. Return: BH = status (00h failed or not supported, 7Fh successful)
  1645.     ???
  1646. Note:    this function is supported by the 5/14/93 ROM for the Dell 486D
  1647.  
  1648. Format of Paradise VGA list entry:
  1649. Offset    Size    Description    (Table 0011)
  1650.  00h    BYTE    ??? or 00h if end of list
  1651.  01h    BYTE    ???
  1652.  02h    WORD    ???
  1653.  04h    WORD    ???
  1654.  06h    WORD    ???
  1655. --------V-10007FBXA500-----------------------
  1656. INT 10 - Paradise VGA - ???
  1657.     AX = 007Fh
  1658.     BX = A500h
  1659.     ???
  1660. Return: BH = status (00h failed or not supported, 7Fh successful)
  1661.     ???
  1662. Note:    this function is supported by the 5/14/93 ROM for the Dell 486D
  1663. --------V-10007FBHA5-------------------------
  1664. INT 10 - Paradise VGA - ???
  1665.     AX = 007Fh
  1666.     BH = A5h
  1667.     BL = ???
  1668.         bits 3-0: ??? (0-4)
  1669.         bits 5,4: ???
  1670.     ???
  1671. Return: BH = status (00h failed or not supported, 7Fh successful)
  1672.     ???
  1673. Note:    this function is supported by the 5/14/93 ROM for the Dell 486D
  1674. --------V-10007FBHA6-------------------------
  1675. INT 10 - Paradise VGA - ???
  1676.     AX = 007Fh
  1677.     BH = A6h
  1678.     ???
  1679. Return: BH = status (00h failed or not supported, 7Fh successful)
  1680.     ???
  1681. Note:    this function is supported by the 5/14/93 ROM for the Dell 486D
  1682. --------V-1001-------------------------------
  1683. INT 10 - VIDEO - SET TEXT-MODE CURSOR SHAPE
  1684.     AH = 01h
  1685.     CH = cursor start and options (see #0012)
  1686.     CL = bottom scan line containing cursor (bits 0-4)
  1687. Desc:    specify the starting and ending scan lines to be occupied by the
  1688.       hardware cursor in text modes
  1689. Notes:    buggy on EGA systems--BIOS remaps cursor shape in 43 line modes, but
  1690.       returns unmapped cursor shape
  1691.     UltraVision scales size to the current font height by assuming 14-line
  1692.       monochrome and 8-line color fonts; this call is not valid if cursor
  1693.       emulation has been disabled
  1694.     applications which wish to change the cursor by programming the
  1695.       hardware directly on EGA or above should call INT 10/AX=1130h or
  1696.       read 0040h:0085h first to determine the current font height
  1697.     on some adapters, setting the end line greater than the number of lines
  1698.       in the font will result in the cursor extending to the top of the
  1699.       next character cell on the right
  1700. BUG:    AMI 386 BIOS and AST Premier 386 BIOS will lock up the system if AL
  1701.       is not equal to the current video mode
  1702. SeeAlso: AH=03h,AX=CD05h,AH=12h/BL=34h,#2469
  1703.  
  1704. Bitfields for cursor start and options:
  1705. Bit(s)    Description    (Table 0012)
  1706.  7    should be zero
  1707.  6,5    cursor blink
  1708.     (00=normal, 01=invisible, 10=erratic, 11=slow)
  1709.     (00=normal, other=invisible on EGA/VGA)
  1710.  4-0    topmost scan line containing cursor
  1711. --------V-1002-------------------------------
  1712. INT 10 - VIDEO - SET CURSOR POSITION
  1713.     AH = 02h
  1714.     BH = page number
  1715.         0-3 in modes 2&3
  1716.         0-7 in modes 0&1
  1717.         0 in graphics modes
  1718.     DH = row (00h is top)
  1719.     DL = column (00h is left)
  1720. SeeAlso: AH=03h,AH=05h,INT 60/DI=030Bh
  1721. --------V-1003-------------------------------
  1722. INT 10 - VIDEO - GET CURSOR POSITION AND SIZE
  1723.     AH = 03h
  1724.     BH = page number
  1725.         0-3 in modes 2&3
  1726.         0-7 in modes 0&1
  1727.         0 in graphics modes
  1728. Return: AX = 0000h (Phoenix BIOS)
  1729.     CH = start scan line
  1730.     CL = end scan line
  1731.     DH = row (00h is top)
  1732.     DL = column (00h is left)
  1733. Notes:    a separate cursor is maintained for each of up to 8 display pages
  1734.     many ROM BIOSes incorrectly return the default size for a color display
  1735.       (start 06h, end 07h) when a monochrome display is attached
  1736. SeeAlso: AH=01h,AH=02h,AH=12h/BL=34h
  1737. --------V-1004-------------------------------
  1738. INT 10 - VIDEO - READ LIGHT PEN POSITION (except VGA)
  1739.     AH = 04h
  1740. Return: AH = light pen trigger flag
  1741.         00h not down/triggered
  1742.         01h down/triggered
  1743.         DH,DL = row,column of character light pen is on
  1744.         CH = pixel row (graphics modes 04h-06h)
  1745.         CX = pixel row (graphics modes with >200 rows)
  1746.         BX = pixel column
  1747. Desc:    determine the current position and status of the light pen (if
  1748.       present)
  1749. Notes:    on a CGA, returned column numbers are always multiples of 2 (320-
  1750.       column modes) or 4 (640-column modes)
  1751.     returned row numbers are only accurate to two lines
  1752. --------V-1004------------------------------------
  1753. INT 10 - HUNTER 16 - GET CURSOR ADDRESS
  1754.     AH = 04h
  1755.     BH = page
  1756. Return: DH = row (0..24)
  1757.     DL = column (0..79)
  1758.     CH = cursor pixel Y-address (0..199)
  1759.     CL = cursor pixel X-address (0..639)
  1760. Notes:    the Husky Hunter 16 is an 8088-based ruggedized laptop.     Other family
  1761.       members are the Husky Hunter, Husky Hunter 16/80, and Husky Hawk.
  1762.     pixel coordinates are for the lower left corner of the character cell
  1763.       containing the cursor
  1764. SeeAlso: AH=60h"HUNTER"
  1765. --------V-1005-------------------------------
  1766. INT 10 - VIDEO -  SELECT ACTIVE DISPLAY PAGE
  1767.     AH = 05h
  1768.     AL = new page number (00h to number of pages - 1) (see #0009)
  1769. Desc:    specify which of possibly multiple display pages will be visible
  1770. Note:    to determine whether the requested page actually exists, use AH=0Fh
  1771.       to query the current page after making this call
  1772. SeeAlso: AH=0Fh,AH=43h,AH=45h
  1773. --------V-1005-------------------------------
  1774. INT 10 - VIDEO - PCjr, Tandy 1000 - MANIPULATE CRT/CPU PAGE REGISTERS
  1775.     AH = 05h
  1776.     AL = subfunction
  1777.         80h read CRT and CPU page registers
  1778.         Return: BH = CRT page register
  1779.             BL = CPU page register
  1780.         81h set CPU page register
  1781.         BL = CPU page
  1782.         82h set CRT page register
  1783.         BH = CRT page
  1784.         83h set both CPU and CRT page registers
  1785.         BL = CPU page
  1786.         BH = CRT page
  1787. Notes:    the CPU page determines which 16K block of the first 128K of physical
  1788.       memory will be mapped at B800h by the hardware
  1789.     the CRT page determines the start address of the memory used by the
  1790.       video controller
  1791. --------V-1005-------------------------------
  1792. INT 10 - VIDEO - Corona/Cordata BIOS v4.10+ - GRAPHICS BITMAP BUFFER
  1793.     AH = 05h
  1794.     AL = function
  1795.         00h set address of graphics bitmap buffer (video modes 60h,61h)
  1796.         BX = segment of buffer
  1797.         0Fh get address of graphics bitmap buffer (video modes 60h,61h)
  1798.         Return: DX = segment of graphics bitmap buffer
  1799. --------V-1006-------------------------------
  1800. INT 10 - VIDEO - SCROLL UP WINDOW
  1801.     AH = 06h
  1802.     AL = number of lines by which to scroll up (00h = clear entire window)
  1803.     BH = attribute used to write blank lines at bottom of window
  1804.     CH,CL = row,column of window's upper left corner
  1805.     DH,DL = row,column of window's lower right corner
  1806. Note:    affects only the currently active page (see AH=05h)
  1807. BUGS:    some implementations (including the original IBM PC) have a bug which
  1808.       destroys BP
  1809.     the Trident TVGA8900CL (BIOS dated 9/8/92) clears DS to 0000h when
  1810.       scrolling in an SVGA mode (800x600 or higher)
  1811. SeeAlso: AH=07h,AH=72h,AH=73h,AX=7F07h,INT 50/AX=0014h
  1812. --------V-1007-------------------------------
  1813. INT 10 - VIDEO - SCROLL DOWN WINDOW
  1814.     AH = 07h
  1815.     AL = number of lines by which to scroll down (00h=clear entire window)
  1816.     BH = attribute used to write blank lines at top of window
  1817.     CH,CL = row,column of window's upper left corner
  1818.     DH,DL = row,column of window's lower right corner
  1819. Note:    affects only the currently active page (see AH=05h)
  1820. BUGS:    some implementations (including the original IBM PC) have a bug which
  1821.       destroys BP
  1822.     the Trident TVGA8900CL (BIOS dated 9/8/92) clears DS to 0000h when
  1823.       scrolling in an SVGA mode (800x600 or higher)
  1824. SeeAlso: AH=06h,AH=72h,AH=73h,INT 50/AX=0014h
  1825. --------V-1008-------------------------------
  1826. INT 10 - VIDEO - READ CHARACTER AND ATTRIBUTE AT CURSOR POSITION
  1827.     AH = 08h
  1828.     BH = page number (00h to number of pages - 1) (see #0009)
  1829. Return: AH = character's attribute (text mode only) (see #0013)
  1830.     AL = character
  1831. Notes:    for monochrome displays, a foreground of 1 with background 0 is
  1832.       underlined
  1833.     the blink bit may be reprogrammed to enable intense background colors
  1834.       using AX=1003h or by programming the CRT controller
  1835.     the foreground intensity bit (3) can be programmed to switch between
  1836.       character sets A and B on EGA and VGA cards, thus enabling 512
  1837.       simultaneous characters on screen.  In this case the bit's usual
  1838.       function (intensity) is regularly turned off.
  1839.     in graphics modes, only characters drawn with white foreground pixels
  1840.       are matched by the pattern-comparison routine
  1841. SeeAlso: AH=09h,AX=1003h,AX=1103h,AH=12h/BL=37h,AX=5001h
  1842.  
  1843. Bitfields for character's display attribute:
  1844. Bit(s)    Description    (Table 0013)
  1845.  7    foreground blink or (alternate) background bright (see also AX=1003h)
  1846.  6-4    background color (see #0014)
  1847.  3    foreground bright or (alternate) alternate character set (see AX=1103h)
  1848.  2-0    foreground color (see #0014)
  1849. SeeAlso: #0025
  1850.  
  1851. (Table 0014)
  1852. Values for character color:
  1853.     Normal        Bright
  1854.  000b    black        dark gray
  1855.  001b    blue        light blue
  1856.  010b    green        light green
  1857.  011b    cyan        light cyan
  1858.  100b    red        light red
  1859.  101b    magenta        light magenta
  1860.  110b    brown        yellow
  1861.  111b    light gray    white
  1862. --------V-1009-------------------------------
  1863. INT 10 - VIDEO - WRITE CHARACTER AND ATTRIBUTE AT CURSOR POSITION
  1864.     AH = 09h
  1865.     AL = character to display
  1866.     BH = page number (00h to number of pages - 1) (see #0009)
  1867.         background color in 256-color graphics modes (ET4000)
  1868.     BL = attribute (text mode) or color (graphics mode)
  1869.         if bit 7 set in <256-color graphics mode, character is XOR'ed
  1870.           onto screen
  1871.     CX = number of times to write character
  1872. Notes:    all characters are displayed, including CR, LF, and BS
  1873.     replication count in CX may produce an unpredictable result in graphics
  1874.       modes if it is greater than the number of positions remaining in the
  1875.       current row
  1876. SeeAlso: AH=08h,AH=0Ah,AH=4Bh"GRAFIX",INT 17/AH=60h,INT 1F,INT 43,INT 44
  1877. --------V-100A-------------------------------
  1878. INT 10 - VIDEO - WRITE CHARACTER ONLY AT CURSOR POSITION
  1879.     AH = 0Ah
  1880.     AL = character to display
  1881.     BH = page number (00h to number of pages - 1) (see #0009)
  1882.         background color in 256-color graphics modes (ET4000)
  1883.     BL = attribute (PCjr, Tandy 1000 only) or color (graphics mode)
  1884.         if bit 7 set in <256-color graphics mode, character is XOR'ed
  1885.           onto screen
  1886.     CX = number of times to write character
  1887. Notes:    all characters are displayed, including CR, LF, and BS
  1888.     replication count in CX may produce an unpredictable result in graphics
  1889.       modes if it is greater than the number of positions remaining in the
  1890.       current row
  1891. SeeAlso: AH=08h,AH=09h,AH=4Bh,INT 17/AH=60h,INT 1F,INT 43,INT 44
  1892. --------V-100B--BH00-------------------------
  1893. INT 10 - VIDEO - SET BACKGROUND/BORDER COLOR
  1894.     AH = 0Bh
  1895.     BH = 00h
  1896.     BL = background/border color (border only in text modes)
  1897. SeeAlso: AH=0Bh/BH=01h
  1898. --------V-100B--BH01-------------------------
  1899. INT 10 - VIDEO - SET PALETTE
  1900.     AH = 0BH
  1901.     BH = 01h
  1902.     BL = palette ID
  1903.         00h background, green, red, and brown/yellow
  1904.         01h background, cyan, magenta, and white
  1905. SeeAlso: AH=0Bh/BH=00h
  1906. --------V-100C-------------------------------
  1907. INT 10 - VIDEO - WRITE GRAPHICS PIXEL
  1908.     AH = 0Ch
  1909.     BH = page number
  1910.     AL = pixel color
  1911.         if bit 7 set, value is XOR'ed onto screen except in 256-color modes
  1912.     CX = column
  1913.     DX = row
  1914. Desc:    set a single pixel on the display in graphics modes
  1915. Notes:    valid only in graphics modes
  1916.     BH is ignored if the current video mode supports only one page
  1917. SeeAlso: AH=0Dh,AH=46h
  1918. --------V-100D-------------------------------
  1919. INT 10 - VIDEO - READ GRAPHICS PIXEL
  1920.     AH = 0Dh
  1921.     BH = page number
  1922.     CX = column
  1923.     DX = row
  1924. Return: AL = pixel color
  1925. Desc:    determine the current color of the specified pixel in grahics modes
  1926. Notes:    valid only in graphics modes
  1927.     BH is ignored if the current video mode supports only one page
  1928. SeeAlso: AH=0Ch,AH=47h
  1929. --------V-100E-------------------------------
  1930. INT 10 - VIDEO - TELETYPE OUTPUT
  1931.     AH = 0Eh
  1932.     AL = character to write
  1933.     BH = page number
  1934.     BL = foreground color (graphics modes only)
  1935. Desc:    display a character on the screen, advancing the cursor and scrolling
  1936.       the screen as necessary
  1937. Notes:    characters 07h (BEL), 08h (BS), 0Ah (LF), and 0Dh (CR) are interpreted
  1938.       and do the expected things
  1939.     IBM PC ROMs dated 4/24/81 and 10/19/81 require that BH be the same as
  1940.       the current active page
  1941. SeeAlso: AH=02h,AH=0Ah
  1942. --------U-100E--CXABCD-----------------------
  1943. INT 10 - V20-XT-BIOS - TELETYPE OUTPUT WITH ATTRIBUTE
  1944.     AH = 0Eh
  1945.     CX = ABCDh
  1946.     BP = ABCDh
  1947.     AL = character to write
  1948.     BH = page number
  1949.     BL = foreground color (text modes as well as graphics modes)
  1950. Program: V20-XT-BIOS is a BIOS extension by Peter Koehlmann / c't magazine
  1951. Desc:    display a character on the screen, advancing the cursor and scrolling
  1952.       the screen as necessary
  1953. Notes:    characters 07h (BEL), 08h (BS), 0Ah (LF), and 0Dh (CR) are interpreted
  1954.       and do the expected things
  1955. SeeAlso: INT 15/AH=84h"V20-XT-BIOS"
  1956. --------V-100F-------------------------------
  1957. INT 10 - VIDEO - GET CURRENT VIDEO MODE
  1958.     AH = 0Fh
  1959. Return: AH = number of character columns
  1960.     AL = display mode (see #0009 at AH=00h)
  1961.     BH = active page (see AH=05h)
  1962. Notes:    if mode was set with bit 7 set ("no blanking"), the returned mode will
  1963.       also have bit 7 set
  1964.     EGA, VGA, and UltraVision return either AL=03h (color) or AL=07h
  1965.       (monochrome) in all extended-row text modes
  1966.     HP 200LX returns AL=07h (monochrome) if mode was set to AL=21h
  1967.       and always 80 resp. 40 columns in all text modes regardless of
  1968.       current zoom setting (see AH=D0h)
  1969.     when using a Hercules Graphics Card, additional checks are necessary:
  1970.         mode 05h: if WORD 0040h:0063h is 03B4h, may be in graphics page 1
  1971.           (as set by DOSSHELL and other Microsoft software)
  1972.         mode 06h: if WORD 0040h:0063h is 03B4h, may be in graphics page 0
  1973.           (as set by DOSSHELL and other Microsoft software)
  1974.         mode 07h: if BYTE 0040h:0065h bit 1 is set, Hercules card is in
  1975.           graphics mode, with bit 7 indicating the page (mode set by
  1976.           Hercules driver for Borland Turbo C)
  1977. SeeAlso: AH=00h,AH=05h,AX=10F2h/BL=00h,AX=1130h,AX=CD04h
  1978. --------V-100F56BX4756-----------------------
  1979. INT 10 - VUIMAGE DISPLAY DRIVER (v2.20 and below)
  1980.     AX = 0F56h
  1981.     BX = 4756h
  1982.     CX = 4944h
  1983.     DL = function
  1984.         01h installation check
  1985.         Return: AX = 5649h
  1986.             BX = 4443h
  1987.             CX = 5647h
  1988.             DH = 01h
  1989.         02h get first video mode's parameters
  1990.         Return: AX = BIOS mode number
  1991.             BX = width in pixels
  1992.             CX = height in pixels
  1993.             DX = number of colors
  1994.         03h get next video mode's parameters
  1995.         Return: as for DL=02h
  1996.         04h display line???
  1997.         ES:DI -> record (see #0015)
  1998.         ???
  1999.         Return: ???
  2000. Program: VUIMAGE is a shareware GIF/TIFF image viewer by Offe Enterprises
  2001. Note:    the use of TSR display drivers was discontinued after v2.20
  2002. Index:    installation check;VUIMAGE display driver
  2003.  
  2004. Format of record for VUIMAGE Function 04h:
  2005. Offset    Size    Description    (Table 0015)
  2006.  00h    WORD    row number
  2007.  02h    WORD    starting column???
  2008.  04h    WORD    ending column???
  2009.     ???
  2010. --------V-100F--SIF123-----------------------
  2011. INT 10 - FRIEZE v7.41+ - INSTALLATION CHECK
  2012.     AH = 0Fh
  2013.     SI = F123h
  2014.     DI = 321Fh
  2015. Return: AH = number of character columns
  2016.     AL = display mode (see #0009 at AH=00h)
  2017.     BH = active page (see AH=05h)
  2018.     SI = DI = F345h if installed
  2019. Notes:    if mode was set with bit 7 set ("no blanking"), the returned mode will
  2020.       also have bit 7 set
  2021.     EGA, VGA, and UltraVision return either AL=03h (color) or AL=07h
  2022.       (monochrome) in all extended-row text modes
  2023. SeeAlso: AH=0Fh"VIDEO",AH=4Bh"FRIEZE"
  2024. --------V-1010-------------------------------
  2025. INT 10 - BIOS Window Extension v1.1 - SET WINDOW COORDINATES
  2026.     AH = 10h
  2027.     CH,CL = row,column of upper left corner of window
  2028.     DH,DL = row,column of lower right corner of window
  2029. Return: AL = status
  2030.         00h successful
  2031.         01h failed
  2032.     AH destroyed
  2033. Program: BWE is a TSR by John J. Seal published in May 1986 Dr. Dobb's Journal
  2034. Note:    when a window has been set, all output via AH=0Eh is restricted to
  2035.       the specified window
  2036. SeeAlso: AH=11h"Window",AH=12h"Window"
  2037. --------V-1010-------------------------------
  2038. INT 10 - VIDEO - Eagle PC2 BIOS Rev. C - SET SCROLL SPEED
  2039.     AH = 10h
  2040.     AL = speed
  2041.         00h fast
  2042.         01h slow (scrolling only moves characters during vertical retrace)
  2043. Return: AH = previous speed
  2044. --------V-101000-----------------------------
  2045. INT 10 - VIDEO - SET SINGLE PALETTE REGISTER (PCjr,Tandy,EGA,MCGA,VGA)
  2046.     AX = 1000h
  2047.     BL = palette register number (00h-0Fh)
  2048.        = attribute register number (undocumented) (see #0016)
  2049.     BH = color or attribute register value
  2050. Notes:    on MCGA, only BX = 0712h is supported
  2051.     under UltraVision, the palette locking status (see AX=CD01h)
  2052.       determines the outcome
  2053. SeeAlso: AX=1002h,AX=1007h,AX=CD01h
  2054.  
  2055. (Table 0016)
  2056. Values for attribute register number:
  2057.  10h    attribute mode control register (should let BIOS control this)
  2058.  11h    overscan color register (see also AX=1001h)
  2059.  12h    color plane enable register (bits 3-0 enable corresponding
  2060.       text attribute bit)
  2061.  13h    horizontal PEL panning register
  2062.  14h    color select register
  2063. --------V-101001-----------------------------
  2064. INT 10 - VIDEO - SET BORDER (OVERSCAN) COLOR (PCjr,Tandy,EGA,VGA)
  2065.     AX = 1001h
  2066.     BH = border color (00h-3Fh)
  2067. BUG:    the original IBM VGA BIOS incorrectly updates the parameter save area
  2068.       and places the border color at offset 11h of the palette table
  2069.       rather than offset 10h
  2070. Note:    under UltraVision, the palette locking status (see AX=CD01h)
  2071.       determines the outcome
  2072. SeeAlso: AX=1002h,AX=1008h,AX=CD01h
  2073. --------V-101002-----------------------------
  2074. INT 10 - VIDEO - SET ALL PALETTE REGISTERS (PCjr,Tandy,EGA,VGA)
  2075.     AX = 1002h
  2076.     ES:DX -> palette register list (see #0017)
  2077. Note:    under UltraVision, the palette locking status (see AX=CD01h)
  2078.       determines the outcome
  2079. SeeAlso: AX=1000h,AX=1001h,AX=1009h,AX=CD01h
  2080.  
  2081. Format of palette register list:
  2082. Offset    Size    Description    (Table 0017)
  2083.  00h 16 BYTEs    colors for palette registers 00h through 0Fh
  2084.  10h    BYTE    border color
  2085. --------V-101003-----------------------------
  2086. INT 10 - VIDEO - TOGGLE INTENSITY/BLINKING BIT (Jr, PS, TANDY 1000, EGA, VGA)
  2087.     AX = 1003h
  2088.     BL = new state
  2089.         00h background intensity enabled
  2090.         01h blink enabled
  2091.     BH = 00h to avoid problems on some adapters
  2092. Notes:    although there is no function to get the current status on adapters
  2093.       prior to the VGA, bit 5 of 0040h:0065h indicates the state; on the
  2094.       VGA, use AH=1Bh and check offset 2Dh of the returned data (see #0037)
  2095.     when configured for a monochrome display, the Boca Research Multi-EGA
  2096.       with ROM v M1.1 Type D has its screen disrupted if BH is not clear
  2097.     this call is reported to be "Get Cursor Position" on the Tandy
  2098.       1000SL/TL
  2099. SeeAlso: AH=08h,AH=1Bh
  2100. --------V-101007-----------------------------
  2101. INT 10 - VIDEO - GET INDIVIDUAL PALETTE REGISTER (VGA,UltraVision v2+)
  2102.     AX = 1007h
  2103.     BL = palette or attribute (undoc) register number (see #0016)
  2104. Return: BH = palette or attribute register value
  2105. Note:    UltraVision v2+ supports this function even on color EGA systems in
  2106.       video modes 00h-03h, 10h, and 12h; direct programming of the palette
  2107.       registers will cause incorrect results because the EGA registers are
  2108.       write-only.  To guard against older versions or unsupported video
  2109.       modes, programs which expect to use this function on EGA systems
  2110.       should set BH to FFh on entry.
  2111. SeeAlso: AX=1000h,AX=1009h
  2112. --------V-101008-----------------------------
  2113. INT 10 - VIDEO - READ OVERSCAN (BORDER COLOR) REGISTER (VGA,UltraVision v2+)
  2114.     AX = 1008h
  2115. Return: BH = border color (00h-3Fh)
  2116. Note:    (see AX=1007h)
  2117. SeeAlso: AX=1001h
  2118. --------V-101009-----------------------------
  2119. INT 10 - VIDEO - READ ALL PALETTE REGISTERS AND OVERSCAN REGISTER (VGA)
  2120.     AX = 1009h
  2121.     ES:DX -> 17-byte buffer for palette register list (see #0017)
  2122. Note:    UltraVision v2+ supports this function even on color EGA systems in
  2123.       video modes 00h-03h, 10h, and 12h; direct programming of the palette
  2124.       registers will cause incorrect results because the EGA registers are
  2125.       write-only.  To guard against older versions or unsupported video
  2126.       modes, programs which expect to use this function on EGA systems
  2127.       should set the ES:DX buffer to FFh before calling.
  2128. SeeAlso: AX=1002h,AX=1007h,AX=CD02h
  2129. --------V-101010-----------------------------
  2130. INT 10 - VIDEO - SET INDIVIDUAL DAC REGISTER (VGA/MCGA)
  2131.     AX = 1010h
  2132.     BX = register number
  2133.     CH = new value for green (0-63)
  2134.     CL = new value for blue (0-63)
  2135.     DH = new value for red (0-63)
  2136. SeeAlso: AX=1012h,AX=1015h
  2137. --------V-101012-----------------------------
  2138. INT 10 - VIDEO - SET BLOCK OF DAC REGISTERS (VGA/MCGA)
  2139.     AX = 1012h
  2140.     BX = starting color register
  2141.     CX = number of registers to set
  2142.     ES:DX -> table of 3*CX bytes where each 3 byte group represents one
  2143.          byte each of red, green and blue (0-63)
  2144. SeeAlso: AX=1010h,AX=1017h,INT 62/AX=00A5h
  2145. --------V-101013-----------------------------
  2146. INT 10 - VIDEO - SELECT VIDEO DAC COLOR PAGE (VGA)
  2147.     AX = 1013h
  2148.     BL = subfunction
  2149.         00h select paging mode
  2150.         BH = 00h select 4 blocks of 64
  2151.         BH = 01h select 16 blocks of 16
  2152.         01h select page
  2153.         BH = page number (00h to 03h) or (00h to 0Fh)
  2154. Note:    this function is not valid in mode 13h
  2155. SeeAlso: AX=101Ah
  2156. --------V-101015-----------------------------
  2157. INT 10 - VIDEO - READ INDIVIDUAL DAC REGISTER (VGA/MCGA)
  2158.     AX = 1015h
  2159.     BL = palette register number
  2160. Return: DH = red value
  2161.     CH = green value
  2162.     CL = blue value
  2163. SeeAlso: AX=1010h,AX=1017h
  2164. --------V-101017-----------------------------
  2165. INT 10 - VIDEO - READ BLOCK OF DAC REGISTERS (VGA/MCGA)
  2166.     AX = 1017h
  2167.     BX = starting palette register
  2168.     CX = number of palette registers to read
  2169.     ES:DX -> buffer (3 * CX bytes in size) (see also AX=1012h)
  2170. Return: buffer filled with CX red, green and blue triples
  2171. SeeAlso: AX=1012h,AX=1015h,INT 62/AX=00A4h
  2172. --------V-101018-----------------------------
  2173. INT 10 U - VIDEO - SET PEL MASK (VGA/MCGA)
  2174.     AX = 1018h
  2175.     BL = new PEL value
  2176. SeeAlso: AX=1019h
  2177. --------V-101019-----------------------------
  2178. INT 10 U - VIDEO - READ PEL MASK (VGA/MCGA)
  2179.     AX = 1019h
  2180. Return: BL = value read
  2181. SeeAlso: AX=1018h
  2182. --------V-10101A-----------------------------
  2183. INT 10 - VIDEO - GET VIDEO DAC COLOR-PAGE STATE (VGA)
  2184.     AX = 101Ah
  2185. Return: BL = paging mode
  2186.         00h four pages of 64
  2187.         01h sixteen pages of 16
  2188.     BH = current page
  2189. SeeAlso: AX=1013h
  2190. --------V-10101B-----------------------------
  2191. INT 10 - VIDEO - PERFORM GRAY-SCALE SUMMING (VGA/MCGA)
  2192.     AX = 101Bh
  2193.     BX = starting palette register
  2194.     CX = number of registers to convert
  2195. Desc:    convert the RGB values of one or more palette registers such that the
  2196.       resulting values are grays with the same intensities as the original
  2197.       colors
  2198. SeeAlso: AH=12h/BL=33h
  2199. --------V-1010E0-----------------------------
  2200. INT 10 - VIDEO - Diamond Speedstar 24 - SET 24-BIT GRAPHICS MODE
  2201.     AX = 10E0h
  2202.     BL = video mode (see also #0009 at AH=00h)
  2203.         2Eh = 640x480
  2204. Return: ???
  2205. SeeAlso: AH=00h,AX=10F0h
  2206. --------V-1010F0-----------------------------
  2207. INT 10 - VIDEO - Tseng ET-4000 BIOS - SET HiColor GRAPHICS MODE
  2208.     AX = 10F0h
  2209.     BL = video mode (see also #0009 at AH=00h)
  2210.         13h = 320x200x32K
  2211.         2Dh = 640x350x32K
  2212.         2Eh = 640x480x32K
  2213.         2Fh = 640x400x32K
  2214.         30h = 800x600x32K
  2215.         3Eh = 640x480x16M (Genoa 7900)
  2216.         FFh Tseng 24-bit color mode
  2217.         BH = mode
  2218.             2Dh = 640x480
  2219.             2Eh = 640x480x16M
  2220.             2Fh = 640x400
  2221.             30h = 800x600
  2222.             38h = 1024x768??? (Tseng ET4000/W32i)
  2223. Return: AL = 10h if supported
  2224.     AH = status
  2225.         00h if successful
  2226.         other on error
  2227. Desc:    switch the display into a graphics mode with 15 or more bits per pixel
  2228. Note:    the Tseng HiColor BIOS extensions are supported by:
  2229.       Diamond Computer Systems    SpeedStar HiColor VGA
  2230.       Everex Systems        HC VGA
  2231.       Focus Information Systems    2theMax 4000
  2232.       Cardinal Technologies        VGA732
  2233.       Orchid ProDesigner IIs    Genoa 7900
  2234. SeeAlso: AH=00h,AX=10E0h,AX=10F1h,AX=10F2h
  2235. Index:    video modes;Tseng Hi-Color
  2236. --------V-1010F1-----------------------------
  2237. INT 10 - VIDEO - Tseng ET-4000 BIOS - GET DAC TYPE
  2238.     AX = 10F1h
  2239. Return: AL = 10h if supported
  2240.     BL = type of digital/analog converter (see #0018)
  2241. Desc:    determine which type of digital-to-analog converter is installed on the
  2242.       display board
  2243. SeeAlso: AX=10F0h,AX=10F2h
  2244.  
  2245. (Table 0018)
  2246. Values for type of DAC:
  2247.  00h normal VGA DAC
  2248.  01h Sierra SC1148x HiColor DAC
  2249.  ---Diamond SpeedStar 24---
  2250.  02h new Sierra SS24 DAC (24-bit)
  2251.  ---generic Tseng BIOS v8+ ---
  2252.  02h Sierra Mark2 (15-bit) or Mark3 (15/16-bit) DAC
  2253.  03h ATT20c490/1/2 (15/16/24-bit)
  2254.  04h AcuMos ADAC1 (15/16/24-bit)
  2255.  05h unknown 15/16/24-bit DAC
  2256.  06h Cirrus Internal 15/16/24-bit (CL-GD54xx series adapters)
  2257.  07h Diamond SS2410 (15/24-bit)
  2258.  08h unknown 15/16/24-bit DAC
  2259.  09h unknown 15/16/24-bit DAC
  2260.  else other HiColor DAC
  2261. --------V-1010F2-----------------------------
  2262. INT 10 u - VIDEO - Tseng ET-4000 BIOS - CHECK IF HiColor MODE/SET HiColor MODE
  2263.     AX = 10F2h
  2264.     BL = function
  2265.         00h get current HiColor mode
  2266.         01h set 15-bit HiColor mode
  2267.         02h set 16-bit HiColor mode
  2268. Return: AX = 0010h if supported
  2269.     BL = video mode type
  2270.         00h not in HiColor mode
  2271.         01h 15-bit RGB mode
  2272.         02h 16-bit RGB mode
  2273.         03h 24-bit RGB mode
  2274. Desc:    determine whether the display is in a graphics mode with 15 or more
  2275.       bits per pixel color resolution
  2276. Note:    set (BL=01h/02h) only works if already in a HiColor mode
  2277. SeeAlso: AH=0Fh,AX=10F0h,AX=10F1h
  2278. --------V-1011-------------------------------
  2279. INT 10 - BIOS Window Extension v1.1 - GET WINDOW COORDINATES
  2280.     AH = 11h
  2281. Return: CH,CL = row,column of upper left corner
  2282.     DH,DL = row,column of lower right corner
  2283. Desc:    determine the portion of the display to which output is restricted
  2284. Program: BWE is a TSR by John J. Seal published in May 1986 Dr. Dobb's Journal
  2285. SeeAlso: AH=10h"Window",AH=12h"Window"
  2286. --------V-1011-------------------------------
  2287. INT 10 - VIDEO - TEXT-MODE CHARACTER GENERATOR FUNCTIONS (PS, EGA, VGA)
  2288.     AH = 11h
  2289.     The following functions will cause a mode set, completely resetting
  2290.     the video environment, but without clearing the video buffer
  2291.     AL = 00h, 10h: load user-specified patterns
  2292.         ES:BP -> user table
  2293.         CX      = count of patterns to store
  2294.         DX      = character offset into map 2 block
  2295.         BL      = block to load in map 2
  2296.         BH      = number of bytes per character pattern
  2297.     AL = 01h, 11h: load ROM monochrome patterns (8 by 14)
  2298.         BL      = block to load
  2299.     AL = 02h, 12h: load ROM 8 by 8 double-dot patterns
  2300.         BL      = block to load
  2301.     AL = 03h: set block specifier (allows dual character sets on screen)
  2302.         BL      = block specifier (see #0019)
  2303.     AL = 04h, 14h: load ROM 8x16 character set (VGA)
  2304.         BL    = block to load
  2305. Notes:    The routines called with AL=1xh are designed to be called only
  2306.       immediately after a mode set and are similar to the routines called
  2307.       with AL=0xh, except that:
  2308.           Page 0 must be active.
  2309.           Bytes/character is recalculated.
  2310.           Max character rows is recalculated.
  2311.           CRT buffer length is recalculated.
  2312.           CRTC registers are reprogrammed as follows:
  2313.              R09 = bytes/char-1 ; max scan line (mode 7 only)
  2314.              R0A = bytes/char-2 ; cursor start
  2315.              R0B = 0        ; cursor end
  2316.              R12 = ((rows+1)*(bytes/char))-1 ; vertical display end
  2317.              R14 = bytes/char    ; underline loc
  2318.                (*** BUG: should be 1 less ***)
  2319.     the current block specifiers may be determined with INT 10/AH=1Bh,
  2320.       looking at offsets 2Bh and 2Ch of the returned data (VGA only)
  2321.       (see AH=1Bh,#0037)
  2322. SeeAlso: AH=1Bh,AX=CD10h
  2323.  
  2324. Bitfields for block specifier:
  2325. Bit(s)    Description    (Table 0019)
  2326. ---EGA/MCGA---
  2327.  0,1    block selected by characters with attribute bit 3 clear
  2328.  2,3    block selected by characters with attribute bit 3 set
  2329. ---VGA---
  2330.  0,1,4    block selected by characters with attribute bit 3 clear
  2331.  2,3,5    block selected by characters with attribute bit 3 set
  2332. --------V-1011-------------------------------
  2333. INT 10 - VIDEO - Realtek RTVGA - TEXT-MODE CHARACTER GENERATOR FUNCTIONS
  2334.     AH = 11h
  2335.     AL = 07h load user-specified paterns and recalculate mode parms
  2336.          parameters are the same as for AL = 10h
  2337.     AL = 08h load monochrome patterns (8x14) and recalculate mode parms
  2338.          parameters are the same as for AL = 11h
  2339.     AL = 09h load ROM 8 by 8 double-dot patterns and recalculate mode parms
  2340.          parameters are the same as for AL = 12h
  2341.     AL = 0Bh load ROM 8x16 character set (VGA) and recalculate mode parms
  2342.          parameters are the same as for AL = 14h
  2343. Note:    these functions should only be called under the same conditions as
  2344.       AL=1xh (see entry above)
  2345. SeeAlso: AH=11h
  2346. --------V-10110F-----------------------------
  2347. INT 10 - VIDEO - Realtek RTVGA - SET USER 8x8 GRAPHICS CHARACTERS
  2348.     AX = 110Fh
  2349.     ES:BP -> user table for INT 1F
  2350. Note:    this function is meant to be called immediately after a mode set;
  2351.       results are unpredictable at other times
  2352. SeeAlso: AX=1110h,AX=1111h,AX=1112h,AX=1120h
  2353. --------V-101110-----------------------------
  2354. INT 10 - VIDEO - Realtek RTVGA - SET USER GRAPHICS CHARACTERS
  2355.     AX = 1110h
  2356.     ES:BP -> user table
  2357.     CX = bytes per character
  2358.     BL = row specifier
  2359.         00h user set
  2360.         DL = number of rows
  2361.         01h 14 rows
  2362.         02h 25 rows
  2363.         03h 43 rows
  2364. Note:    this function is meant to be called immediately after a mode set;
  2365.       results are unpredictable at other times
  2366. SeeAlso: AX=110Fh,AX=1112h,AX=1121h
  2367. --------V-101111-----------------------------
  2368. INT 10 - VIDEO - Realtek RTVGA - SET ROM 8x14 GRAPHICS CHARACTERS
  2369.     AX = 1111h
  2370.     BL = row specifier (see AX=1121h)
  2371. Note:    this function is meant to be called immediately after a mode set;
  2372.       results are unpredictable at other times
  2373. SeeAlso: AX=110Fh,AX=1110h,AX=1122h
  2374. --------V-101112-----------------------------
  2375. INT 10 - VIDEO - Realtek RTVGA - SET ROM 8x8 DOUBLE-DOT CHARACTERS
  2376.     AX = 1112h
  2377.     BL = row specifier (see AX=1121h)
  2378. Note:    this function is meant to be called immediately after a mode set;
  2379.       results are unpredictable at other times
  2380. SeeAlso: AX=110Fh,AX=1110h,AX=1111h,AX=1123h
  2381. --------V-101120-----------------------------
  2382. INT 10 - VIDEO - GRAPH-MODE CHARGEN - SET USER 8x8 GRAPHICS CHARS (PS,EGA,VGA)
  2383.     AX = 1120h
  2384.     ES:BP -> user table for INT 1F
  2385. Note:    this function is meant to be called immediately after a mode set;
  2386.       results are unpredictable at other times
  2387. SeeAlso: AX=1121h,AX=1122h,AX=1123h,AX=1124h,AX=1125h,INT 1F,INT 43
  2388. --------V-101121-----------------------------
  2389. INT 10 - VIDEO - GRAPH-MODE CHARGEN - SET USER GRAPHICS CHARACTERS (PS,EGA,VGA)
  2390.     AX = 1121h
  2391.     ES:BP -> user table
  2392.     CX = bytes per character
  2393.     BL = row specifier
  2394.         00h user set
  2395.         DL = number of rows
  2396.         01h 14 rows
  2397.         02h 25 rows
  2398.         03h 43 rows
  2399. Note:    this function is meant to be called immediately after a mode set;
  2400.       results are unpredictable at other times
  2401. SeeAlso: AX=1120h,AX=1122h,AX=1123h,AX=1124h,AX=1129h,INT 1F,INT 43
  2402. --------V-101122-----------------------------
  2403. INT 10 - VIDEO - GRAPH-MODE CHARGEN - SET ROM 8x14 GRAPHICS CHARS (PS,EGA,VGA)
  2404.     AX = 1122h
  2405.     BL = row specifier (see AX=1121h)
  2406. Notes:    this function is meant to be called immediately after a mode set;
  2407.       results are unpredictable at other times
  2408.     UltraVision v2+ sets INT 43 to the appropriate font on this call
  2409. SeeAlso: AX=1111h,AX=1120h,AX=1121h,AX=1123h,AX=1124h,AX=1129h,INT 1F,INT 43
  2410. --------V-101123-----------------------------
  2411. INT 10 - VIDEO - GRAPH-MODE CHARGEN - SET ROM 8x8 DOUBLE-DOT CHARS (PS,EGA,VGA)
  2412.     AX = 1123h
  2413.     BL = row specifier (see AX=1121h)
  2414. Notes:    this function is meant to be called immediately after a mode set;
  2415.       results are unpredictable at other times
  2416.     UltraVision v2+ sets INT 43 to the appropriate font on this call
  2417. SeeAlso: AX=1112h,AX=1120h,AX=1121h,AX=1122h,AX=1124h,AX=1129h,INT 1F,INT 43
  2418. --------V-101124-----------------------------
  2419. INT 10 - VIDEO - GRAPH-MODE CHARGEN - LOAD 8x16 GRAPHICS CHARS (VGA,MCGA)
  2420.     AX = 1124h
  2421.     BL = row specifier (see AX=1121h)
  2422. Notes:    this function is meant to be called immediately after a mode set;
  2423.       results are unpredictable at other times
  2424.     UltraVision v2+ sets INT 43 to the appropriate font on this call
  2425. SeeAlso: AX=1120h,AX=1121h,AX=1122h,AX=1123h,AX=1129h,INT 1F,INT 43
  2426. --------V-101129-----------------------------
  2427. INT 10 - VIDEO - GRAPH-MODE CHARGEN - LOAD 8x16 GRAPH CHARS (Compaq Systempro)
  2428.     AX = 1129h
  2429.     BL = row specifier (see AX=1121h)
  2430. Notes:    this function is meant to be called immediately after a mode set;
  2431.       results are unpredictable at other times
  2432.     UltraVision v2+ sets INT 43 to the appropriate font on this call
  2433. SeeAlso: AX=1120h,AX=1121h,AX=1122h,AX=1123h,AX=1124h,INT 1F, INT 43
  2434. --------V-101130-----------------------------
  2435. INT 10 - VIDEO - GET FONT INFORMATION (EGA, MCGA, VGA)
  2436.     AX = 1130h
  2437.     BH = pointer specifier
  2438.         00h INT 1Fh pointer
  2439.         01h INT 43h pointer
  2440.         02h ROM 8x14 character font pointer
  2441.         03h ROM 8x8 double dot font pointer
  2442.         04h ROM 8x8 double dot font (high 128 characters)
  2443.         05h ROM alpha alternate (9 by 14) pointer (EGA,VGA)
  2444.         06h ROM 8x16 font (MCGA, VGA)
  2445.         07h ROM alternate 9x16 font (VGA only) (see #0020)
  2446.         11h (UltraVision v2+) 8x20 font (VGA) or 8x19 font (autosync EGA)
  2447.         12h (UltraVision v2+) 8x10 font (VGA) or 8x11 font (autosync EGA)
  2448. Return: ES:BP = specified pointer
  2449.     CX    = bytes/character of on-screen font (not the requested font!)
  2450.     DL    = highest character row on screen
  2451. Note:    for UltraVision v2+, the 9xN alternate fonts follow the corresponding
  2452.       8xN font at ES:BP+256N
  2453. BUG:    the IBM EGA and some other EGA cards return in DL the number of rows on
  2454.       screen rather than the highest row number (which is one less).
  2455. SeeAlso: AX=1100h,AX=1120h,INT 1F,INT 43
  2456.  
  2457. Format of alternate font table [array]:
  2458. Offset    Size    Description    (Table 0020)
  2459.  00h    BYTE    character to be replaced (00h = end of table)
  2460.  01h  N BYTEs    graphics data for character, one byte per scan line
  2461. --------V-101130BX4D4F-----------------------
  2462. INT 10 - M10_SCR.COM v3.5+ - INSTALLATION CHECK
  2463.     AX = 1130h
  2464.     BX = 4D4Fh
  2465. Return: CX = 4F4Dh if installed
  2466.         ES:BP -> M10_SCR INT 10 handler
  2467. Program: M10_SCR is a shareware extended text mode and font driver by
  2468.       I.V. Morozov
  2469. SeeAlso: INT 16/AX=4D4Fh
  2470. --------V-1012-------------------------------
  2471. INT 10 - BIOS Window Extension v1.1 - GET BLANKING ATTRIBUTE
  2472.     AH = 12h
  2473. Return: BH = attribute to use on blanked lines when scrolling
  2474. Program: BWE is a TSR by John J. Seal published in May 1986 Dr. Dobb's Journal
  2475. SeeAlso: AH=11h"Window",AH=12h"Window"
  2476. --------V-1012--BL10-------------------------
  2477. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (PS, EGA, VGA, MCGA) - GET EGA INFO
  2478.     AH = 12h
  2479.     BL = 10h
  2480. Return: BH = video state
  2481.         00h color mode in effect (I/O port 3Dxh)
  2482.         01h mono mode in effect (I/O port 3Bxh)
  2483.     BL = installed memory (00h = 64K, 01h = 128K, 02h = 192K, 03h = 256K)
  2484.     CH = feature connector bits (see #0021)
  2485.     CL = switch settings (see #0022,#0023)
  2486.     AH destroyed (at least by Tseng ET4000 BIOS v8.00n)
  2487. Note:    one possible check for the presence of an EGA or later display card
  2488.       is to call this function with BH=FFh; if not present, BH will be
  2489.       unchanged on return
  2490.  
  2491. Bitfields for feature connector bits:
  2492. Bit(s)    Description    (Table 0021)
  2493.  0    FEAT 1 line, state 2
  2494.  1    FEAT 0 line, state 2
  2495.  2    FEAT 1 line, state 1
  2496.  3    FEAT 0 line, state 1
  2497.  4-7    unused (0)
  2498.  
  2499. Bitfields for switch settings:
  2500. Bit(s)    Description    (Table 0022)
  2501.  0    switch 1 OFF
  2502.  1    switch 2 OFF
  2503.  2    switch 3 OFF
  2504.  3    switch 4 OFF
  2505.  4-7    unused
  2506.  
  2507. (Table 0023)
  2508. Values for switch settings on original EGA/VGA:
  2509.  00h        primary MDA/HGC,    secondary EGA+ 40x25
  2510.  01h-03h    primary MDA/HGC,    secondary EGA+ 80x25
  2511.  04h        primary CGA 40x25,    secondary EGA+ 80x25 mono
  2512.  05h        primary CGA 80x25,    secondary EGA+ 80x25 mono
  2513.  06h        primary EGA+ 40x25,    secondary MDA/HGC (optional)
  2514.  07h-09h    primary EGA+ 80x25,    secondary MDA/HGC (optional)
  2515.  0Ah        primary EGA+ 80x25 mono,secondary CGA 40x25 (optional)
  2516.  0Bh        primary EGA+ 80x25 mono,secondary CGA 80x25 (optional)
  2517. --------V-1012--BL11-------------------------
  2518. INT 10 - VIDEO - Trident TVGA 8800/8900/9000 BIOS - GET BIOS INFO
  2519.     AH = 12h
  2520.     BL = 11h
  2521. Return: AL = 12h if function supported
  2522.         BL = ??? (10h)
  2523.         ES:BP -> BIOS info structure (see #0024)
  2524. SeeAlso: AH=12h/BL=12h"TRIDENT"
  2525.  
  2526. Format of Trident BIOS Info structure:
  2527. Offset    Size     Description    (Table 0024)
  2528.  00h    BYTE     ??? (0000h)
  2529.  01h    BYTE     OEM Code (00h for original Trident)
  2530.  02h    WORD     ID??? (1073h for 8800BR, 1074 for 8800CS)
  2531.  04h  8 BYTEs     BIOS date ('mm/dd/yy')
  2532.  0Ch    WORD     ???
  2533.  0Eh  8 BYTEs     BIOS Version (' C3-128 ', ' C3-129 ')
  2534. --------V-1012--BL12-------------------------
  2535. INT 10 - VIDEO - Trident TVGA 8800/8900/9000 BIOS - GET VIDEO RAM SIZE
  2536.     AH = 12h
  2537.     BL = 12h
  2538. Return: AL = 12h if function supported
  2539.         AH = number of 256K banks of RAM installed
  2540. SeeAlso: AH=12h/BL=11h"TRIDENT"
  2541. --------V-1012--BL20-------------------------
  2542. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (PS,EGA,VGA,MCGA) - ALTERNATE PRTSC
  2543.     AH = 12h
  2544.     BL = 20h  select alternate print screen routine
  2545. Desc:    installs a PrtSc routine from the video card's BIOS to replace the
  2546.       default PrtSc handler from the ROM BIOS, which usually does not
  2547.       understand screen heights other than 25 lines
  2548. Note:    some adapters disable print-screen instead of enhancing it
  2549. SeeAlso: INT 05
  2550. --------V-1012--BL2E-------------------------
  2551. INT 10 - Tseng ET-4000 BIOS v3.00 and v8.00 - BUG
  2552.     AH = 12h
  2553.     BL = 2Eh
  2554. Note:    due to an omitted end-of-list marker, these versions of the BIOS will
  2555.       crash the system on this function
  2556. --------V-1012--BL30-------------------------
  2557. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (VGA) - SELECT VERTICAL RESOLUTION
  2558.     AH = 12h
  2559.     BL = 30h
  2560.     AL = vertical resolution
  2561.          00h 200 scan lines
  2562.          01h 350 scan lines
  2563.          02h 400 scan lines
  2564. Return: AL = 12h if function supported
  2565. Desc:    specify the number of scan lines used to display text modes
  2566. Note:    the specified resolution will take effect on the next mode set
  2567. SeeAlso: AH=00h
  2568. --------V-1012--BL31-------------------------
  2569. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (VGA, MCGA) - PALETTE LOADING
  2570.     AH = 12h
  2571.     BL = 31h
  2572.     AL = new state
  2573.         00h enable default palette loading
  2574.         01h disable default palette loading
  2575. Return: AL = 12h if function supported
  2576. Desc:    specify whether a default palette should be loaded when the display
  2577.       mode is set
  2578. SeeAlso: AH=00h
  2579. --------V-1012--BL32-------------------------
  2580. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (VGA, MCGA) - VIDEO ADDRESSING
  2581.     AH = 12h
  2582.     BL = 32h
  2583.     AL = new state
  2584.         00h enable video addressing
  2585.         01h disable video addressing
  2586. Return: AL = 12h if function supported
  2587. Desc:    specify whether the CPU should have access to video memory and the
  2588.       display adapters I/O registers
  2589. --------V-1012--BL33-------------------------
  2590. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (VGA, MCGA) - GRAY-SCALE SUMMING
  2591.     AH = 12h
  2592.     BL = 33h
  2593.     AL = new state
  2594.         00h enable gray scale summing
  2595.         01h disable gray scale summing
  2596. Return: AL = 12h if function supported
  2597. Desc:    specify whether or not colors should be converted to gray scale when
  2598.       palette or color registers are loaded
  2599. SeeAlso: AX=101Bh,AX=BF06h,AX=BF08h
  2600. --------V-1012--BL34-------------------------
  2601. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (VGA) - CURSOR EMULATION
  2602.     AH = 12h
  2603.     BL = 34h
  2604.     AL = new state
  2605.         00h enable alphanumeric cursor emulation
  2606.         01h disable alphanumeric cursor emulation
  2607. Return: AL = 12h if function supported
  2608. Desc:    specify whether the BIOS should automatically remap cursor start/end
  2609.       according to the current character height in text modes
  2610. SeeAlso: AH=01h,AH=03h
  2611. --------V-1012--BL35-------------------------
  2612. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (PS) - DISPLAY-SWITCH INTERFACE
  2613.     AH = 12h
  2614.     BL = 35h
  2615.     AL = subfunction
  2616.         00h initial adapter video off
  2617.         01h initial planar video on
  2618.         02h switch active video off
  2619.         03h switch inactive video on
  2620.         80h *UNDOCUMENTED* set system board video active flag
  2621.     ES:DX -> buffer for 128 byte save area (if AL = 00h-03h)
  2622. Return: AL = 12h if function supported
  2623. Desc:    switch between two video adapters which may otherwise have address
  2624.       conflicts
  2625. --------V-1012--BL36-------------------------
  2626. INT 10 - VIDEO - ALTERNATE FUNCTION SELECT (PS, VGA) - VIDEO REFRESH CONTROL
  2627.     AH = 12h
  2628.     BL = 36h
  2629.     AL = new state
  2630.         00h enable refresh
  2631.         01h disable refresh
  2632. Return: AL = 12h if function supported
  2633. Desc:    specify whether the contents of video memory should be displayed on
  2634.       the screen; disabling refresh effectively blanks the screen
  2635. SeeAlso: AX=BF05h
  2636. --------V-1012--BL37-------------------------
  2637. INT 10 - VIDEO - XGA - MAINFRAME INTERACTIVE SUPPORT
  2638.     AH = 12h
  2639.     BL = 37h
  2640.     AL = text attribute type (00h normal VGA, 01h mainframe type)
  2641. Return: AL = 12h if supported
  2642. SeeAlso: #0025,AH=08h
  2643.  
  2644. Bitfields for XGA mainframe type character attributes:
  2645. Bit(s)    Description    (Table 0025)
  2646.  7    blink double rate (75% ON time) or use color 8 as background
  2647.     (see AX=1003h)
  2648.  6    reverse video
  2649.  5    underlined
  2650.  4    left-most and right-most dots of underline area inverted
  2651.  3    foreground intensity/character font select
  2652.  2-0    foreground color
  2653. SeeAlso: #0013,#0033
  2654. --------V-1012--BL53-------------------------
  2655. INT 10 - Tseng ET-4000 BIOS v8.00 (06/07/91) - BUG
  2656.     AH = 12h
  2657.     BL = 53h
  2658. Note:    due to an omitted end-of-list marker, this version of the BIOS will
  2659.       crash the system on this function
  2660. --------V-1012--BL57-------------------------
  2661. INT 10 - Tseng ET-4000 BIOS v8.00 (06/07/91) - BUG
  2662.     AH = 12h
  2663.     BL = 57h
  2664. Note:    due to an omitted end-of-list marker, this version of the BIOS will
  2665.       crash the system on this function
  2666. --------V-1012--BH55-------------------------
  2667. INT 10 - VIDEO - ALTERNATE FUNC SELECT (ATI,Tatung,Taxan) - ENHANCED FEATURES
  2668.     AH = 12h
  2669.     BH = 55h
  2670.     BL = subfunction
  2671.         00h disable enhanced features
  2672.         01h enable enhanced features
  2673.         02h get status
  2674.         Return: AL = status flags (see #0026)
  2675.         03h disable register trapping (CGA emulation)
  2676.         04h enable register trapping
  2677.         05h program video mode
  2678.         ES:BP -> video mode table (see #0027)
  2679.         06h get mode table
  2680.         AL = video mode
  2681.         Return: ES:BP -> table suitable for mode AL (and subfnc BL=05h)
  2682.             BP = FFFFh on error
  2683. Note:    the ATI Mouse driver (MOUSE.COM/MOUSE.SYS) uses subfunction 06h to get
  2684.       the mode table for mode 03h, and then looks for a signature string
  2685.       beginning within 32 bytes of the offset specified by the word at
  2686.       ES:000Ch
  2687. SeeAlso: AH=FFh"Oak"
  2688. Index:    installation check;ATI video adapters
  2689.  
  2690. Bitfields for status flags:
  2691. Bit(s)    Description    (Table 0026)
  2692.  3    set if enhanced features enabled
  2693.  7-5    monitor type
  2694.     000 PS/2 mono
  2695.     001 PS/2 color
  2696.     010 multi-sync
  2697.     011 Taxan 650 25kHz
  2698.     100 RGB
  2699.     101 mono
  2700.     110 EGA
  2701.     111 Compaq internal
  2702.  
  2703. Format of ATI VGA Wonder video mode table:
  2704. Offset    Size    Description    (Table 0027)
  2705.  00h    BYTE    number of columns
  2706.  01h    BYTE    maximum row (number of rows - 1)
  2707.  02h    BYTE    scan lines per row
  2708.  03h    WORD    video buffer size in bytes
  2709.  05h  4 BYTEs    values for Sequencer registers 1-4
  2710.  09h    BYTE    value for Miscellaneous Output register
  2711.  0Ah 25 BYTEs    values for CRTC registers 00h-18h
  2712.         00h horizontal total size (chars)
  2713.         01h horizontal displayed (chars)
  2714.         02h horizontal sync position (chars)
  2715.         03h horizontal sync width (chars)
  2716.         04h vertical total size (char rows)
  2717.         05h vertical total adjust (scan lines)
  2718.         06h vertical displayed (char rows)
  2719.         07h vertical sync position (char rows)
  2720.         08h interlace mode
  2721.         09h max scan line in row
  2722.         0Ah cursor start scan line
  2723.         0Bh cursor end scan line
  2724.         0Ch screen memory start (high)
  2725.         0Dh screen memory start (low)
  2726.         0Eh cursor address (high)
  2727.         0Fh cursor address (low)
  2728.         10h light pen (high)
  2729.         11h light pen (low)
  2730.  23h 20 BYTEs    default palette (values for Attribute Controller regs 00h-13h)
  2731.  37h  9 BYTEs    values for Graphics Controller registers 00h-08h
  2732. --------V-1012--BL74-------------------------
  2733. INT 10 - Tseng ET-4000 BIOS v3.00 and v8.00 - BUG
  2734.     AH = 12h
  2735.     BL = 74h
  2736. Note:    due to an omitted end-of-list marker, these versions of the BIOS will
  2737.       crash the system on this function
  2738. --------V-1012--BL80-------------------------
  2739. INT 10 - Tseng ET-4000 BIOS v3.00 and v8.00 - BUG
  2740.     AH = 12h
  2741.     BL = 80h
  2742. Note:    due to an omitted end-of-list marker, these versions of the BIOS will
  2743.       crash the system on this function
  2744. --------V-1012--BL80-------------------------
  2745. INT 10 - Cirrus Logic BIOS - INQUIRE VGA TYPE
  2746.     AH = 12h
  2747.     BL = 80h
  2748. Return: AX = controller type in bits 13-0 (see #0028)
  2749.         bit 14: ???
  2750.         bit 15: ???
  2751.     BL = silicon revision number (bit 7 set if not available)
  2752. SeeAlso: AH=12h/BL=81h,AH=12h/BL=82h,AH=12h/BL=85h,AH=12h/BL=9Ah,AH=12h/BL=A1h
  2753.  
  2754. (Table 0028)
  2755. Values for Cirrus Logic video controller type:
  2756.  0000h    no extended alternate select support
  2757.  0002h    510/520
  2758.  0003h    610/620
  2759.  0004h    5320
  2760.  0005h    6410
  2761.  0006h    5410
  2762.  0007h    6420
  2763.  0008h    6412
  2764.  0010h    5401
  2765.  0011h    5402
  2766.  0012h    5420
  2767.  0013h    5422
  2768.  0014h    5424
  2769.  0015h    5426
  2770.  0016h    5420r1
  2771.  0017h    5402r1
  2772.  0018h    5428
  2773.  0020h    6205/15/25
  2774.  0030h    5432
  2775.  0031h    5434
  2776. --------V-1012--BL81-------------------------
  2777. INT 10 - Cirrus Logic BIOS - GET BIOS VERSION NUMBER
  2778.     AH = 12h
  2779.     BL = 81h
  2780. Return: AH = BIOS major version
  2781.     AL = BIOS minor version
  2782. SeeAlso: AH=12h/BL=80h,AH=12h/BL=82h
  2783. --------V-1012--BL82-------------------------
  2784. INT 10 - Cirrus Logic BIOS - GET DESIGN REVISION CODE
  2785.     AH = 12h
  2786.     BL = 82h
  2787. Return: AL = chip revision
  2788.     AH = ??? (AFh for v1.01)
  2789. SeeAlso: AH=12h/BL=80h,AH=12h/BL=81h
  2790. ----------1012--BL84-------------------------
  2791. INT 10 - Cirrus Logic BIOS v3.02 - INQUIRE OPTIONS
  2792.     AH = 12h
  2793.     BL = 84h
  2794. Return: AX = user options word (see #0029)
  2795. SeeAlso: AH=12h/BL=89h,AH=12h/BL=8Ah,AH=12h/BL=8Bh,AH=12h/BL=8Ch,AH=12h/BL=8Fh
  2796. SeeAlso: AH=12h/BL=90h,AH=12h/BL=9Ah
  2797.  
  2798. Bitfields for Cirrus Logic user options word:
  2799. Bit(s)    Description    (Table 0029)
  2800.  1,0    centering
  2801.     00 vertical centered, 01 from bottom, 10 from top, 11 reserved
  2802.  3,2    720-dot fix-up options
  2803.     00 OR every 8th and 9th pixel
  2804.     01 display MGA mode from left
  2805.     10 display MGA mode from right
  2806.     11 skip every 9th pixel
  2807.  4    ???
  2808.  7-5    video mode (001 CGA, 010 MGA, 011 EGA, 100 VGA)
  2809.  8    external monitor enabled instead of LCD panel
  2810.  9    vertical expand mode enabled
  2811.  10    8-bit mode instead of 16-bit mode
  2812.  11    normal video rather than reverse video (for LCD)
  2813.  12    attribute automap rather than attribute emulation
  2814.  13    bold mode disabled (default)
  2815.  14    fast bandwidth
  2816.  15    ???
  2817. --------V-1012--BL85-------------------------
  2818. INT 10 - Cirrus Logic BIOS - GET INSTALLED MEMORY
  2819.     AH = 12h
  2820.     BL = 85h
  2821. Return: AL = number of 64K banks of video memory
  2822. SeeAlso: AH=12h/BL=80h,AH=12h/BL=93h
  2823. --------V-1012--BL89-------------------------
  2824. INT 10 - Cirrus Logic BIOS v3.02 - LCD panel - EN/DISABLE REVERSE VIDEO MODE
  2825.     AH = 12h
  2826.     BL = 89h
  2827.     AL = new state (00h enabled, 01h disabled)
  2828. SeeAlso: AH=12h/BL=84h,AH=12h/BL=8Ah,AH=12h/BL=8Bh
  2829. --------V-1012--BL8A-------------------------
  2830. INT 10 - Cirrus Logic BIOS v3.02 - LCD panel - SET FRAME COLOR
  2831.     AH = 12h
  2832.     BL = 8Ah
  2833.     AL = new gray-scale color (00h = black to 0Fh = white)
  2834. SeeAlso: AH=12h/BL=84h,AH=12h/BL=89h,AH=12h/BL=8Fh
  2835. --------V-1012--BL8B-------------------------
  2836. INT 10 - Cirrus Logic BIOS v3.02 - LCD panel - ENABLE/DISABLE BOLD MODE
  2837.     AH = 12h
  2838.     BL = 8Bh
  2839.     AL = new state (00h enabled, 01h disabled)
  2840. SeeAlso: AH=12h/BL=84h,AH=12h/BL=89h,AH=12h/BL=8Ch,AH=12h/BL=8Fh
  2841. --------V-1012--BL8C-------------------------
  2842. INT 10 - Cirrus Logic BIOS v3.02 - LCD panel - SET AUTOMAP/EMULATE ATTRIBUTES
  2843.     AH = 12h
  2844.     BL = 8Ch
  2845.     AL = new state
  2846.         00h enable automap
  2847.         01h disable automap and emulate attributes
  2848. SeeAlso: AH=12h/BL=84h,AH=12h/BL=8Bh
  2849. --------V-1012--BL8F-------------------------
  2850. INT 10 - Cirrus Logic BIOS v3.02 - LCD panel - ENABLE/DISABLE EXPAND MODE
  2851.     AH = 12h
  2852.     BL = 8Fh
  2853.     AL = new state (00h enabled, 01h disabled)
  2854. Note:    when expand mode is enabled, the vertical dimension is enlarged to
  2855.       full screen
  2856. SeeAlso: AH=12h/BL=84h,AH=12h/BL=89h,AH=12h/BL=8Bh,AH=12h/BL=90h
  2857. --------V-1012--BL90-------------------------
  2858. INT 10 - Cirrus Logic BIOS v3.02 - LCD panel - SET CENTERING MODE
  2859.     AH = 12h
  2860.     BL = 90h
  2861.     AL = new position
  2862.         00h centered
  2863.         01h from top
  2864.         02h from bottom
  2865.         03h from top
  2866. SeeAlso: AH=12h/BL=84h,AH=12h/BL=8Fh
  2867. --------V-1012--BL91-------------------------
  2868. INT 10 - Cirrus Logic BIOS v3.02 - LCD panel - SET 720-DOT FIXUP MODE
  2869.     AH = 12h
  2870.     BL = 91h
  2871.     AL = new mode
  2872.         00h display MGA mode from left of screen (default)
  2873.         01h display MGA from right
  2874.         02h skip every ninth pixel
  2875.         03h OR every 8th and 9th pixel
  2876. SeeAlso: AH=12h/BL=84h,AH=12h/BL=8Ah,AH=12h/BL=90h
  2877. --------V-1012--BL92-------------------------
  2878. INT 10 - Cirrus Logic BIOS v3.02 - LCD panel - SWITCH DISPLAY
  2879.     AH = 12h
  2880.     BL = 92h
  2881.     AL = new display (00h LCD, 01h external monitor)
  2882. Note:    the deselected display is disabled
  2883. SeeAlso: AH=12h/BL=84h,AH=12h/BL=89h,AH=12h/BL=90h,AH=12h/BL=94h
  2884. --------V-1012--BL93-------------------------
  2885. INT 10 - Cirrus Logic BIOS - FORCE 8-BIT OR 16-BIT OPERATION
  2886.     AH = 12h
  2887.     BL = 93h
  2888.     AL = new I/O width (00h = 16 bits, 01h = 8 bits)
  2889. SeeAlso: AH=12h/BL=9Ah
  2890. --------V-1012--BL94-------------------------
  2891. INT 10 - Cirrus Logic BIOS v3.02 - POWER CONSERVATION
  2892.     AH = 12h
  2893.     BL = 94h
  2894.     AL = new state (00h wake up monitor, 01h shut down display)
  2895. Note:    AL=01h is reported not to work properly on the LCD panel
  2896. SeeAlso: AH=12h/BL=84h,AH=12h/BL=92h
  2897. --------V-1012--BL9A-------------------------
  2898. INT 10 - Cirrus Logic BIOS - GET USER OPTIONS
  2899.     AH = 12h
  2900.     BL = 9Ah
  2901. Return: AX = options word 1 (see #0030)
  2902.     CX = options word 2 (see #0031)
  2903. SeeAlso: AH=12h/BL=80h,AH=12h/BL=84h,AH=12h/BL=93h,AH=12h/BL=A0h
  2904. SeeAlso: AH=12h/BL=A3h,AH=12h/BL=A4h
  2905.  
  2906. Bitfields for Cirrus Logic options word 1:
  2907. Bit(s)    Description    (Table 0030)
  2908.  0,1    reserved
  2909.  2-4    monitor type
  2910.  5-6    maximum vertical resolution
  2911.  7-9    reserved
  2912.  10    force 8-bit operation
  2913.  11-13    reserved
  2914.  14    vertical refresh frequency at 640x480
  2915.  15    reserved
  2916.  
  2917. Bitfields for Cirrus Logic options word 2:
  2918. Bit(s)    Description    (Table 0031)
  2919.  0-3    reserved
  2920.  4-5    vertical refresh frequency at 1280x1024
  2921.  6-10    reserved
  2922.  11-12    vertical refresh frequency at 800x600
  2923.  13-15    vertical refresh frequency at 1024x768
  2924. --------V-1012--BLA0-------------------------
  2925. INT 10 - Cirrus Logic BIOS - GET VIDEO MODE AVAILABILITY
  2926.     AH = 12h
  2927.     BL = A0h
  2928.     AL = video mode number (00h-7Fh)
  2929. Return: AH bit 0: video mode supported
  2930.     BX = offset of BIOS subroutine to fixup standard video parameters
  2931.         (call subroutine with DS:SI and ES:DI as returned by this call)
  2932.     DS:SI -> standard video parameters or FFFFh:FFFFh
  2933.     ES:DI -> supplemental video parameters or FFFFh:FFFFh
  2934. SeeAlso: AH=00h,AH=12h/BL=9Ah,AH=12h/BL=A1h
  2935. --------V-1012--BLA1-------------------------
  2936. INT 10 - Cirrus Logic BIOS - READ MONITOR TYPE AND ID FROM 15-PIN CONNECTOR
  2937.     AH = 12h
  2938.     BL = A1h
  2939. Return: BH = monitor ID (see #0032)
  2940.     BL = monitor type (00h color, 01h grayscale, 02h no display)
  2941. SeeAlso: AH=12h/BL=9Ah,AH=12h/BL=A2h
  2942.  
  2943. (Table 0032)
  2944. Values for Cirrus Logic monitor ID:
  2945.  00h-08h reserved
  2946.  09h    IBM 8604/8507 or equivalent
  2947.  0Ah    IBM 8514 or equivalent
  2948.  0Bh    IBM 8515 or equivalent
  2949.  0Dh    IBM 8503 or equivalent
  2950.  0Eh    IBM 8512/8513 or equivalent
  2951.  0Fh    no monitor
  2952. --------V-1012--BLA2-------------------------
  2953. INT 10 - Cirrus Logic BIOS - SET MONITOR HORIZONTAL RETRACE FREQUENCY
  2954.     AH = 12h
  2955.     BL = A2h
  2956.     AL = retrace rate
  2957.         00h standard VGA (31.5 kHz)
  2958.         01h 8514-compatible (31.5 kHz and 35.5 kHz interlaced)
  2959.         02h SuperVGA (31.5-35.1 kHz)
  2960.         03h extended SuperVGA (31.5-35.5 kHz)
  2961.         04h multi-frequency (31.5-37.8 kHz)
  2962.         05h extended multi-frequency (31.5-48.0 kHz)
  2963.         06h super multi-frequency (31.5-56.0 kHz)
  2964.         07h extended super multi-frequency (31.5-64.0 kHz)
  2965. SeeAlso: AH=12h/BL=9Ah,AH=12h/BL=A0h,AH=12h/BL=A4h
  2966. --------V-1012--BLA3-------------------------
  2967. INT 10 - Cirrus Logic BIOS - SET VGA REFRESH
  2968.     AH = 12h
  2969.     BL = A3h
  2970.     AL = refresh rate for 640x480 (00h normal, 01h high)
  2971. SeeAlso: AH=12h/BL=9Ah,AH=12h/BL=A4h
  2972. --------V-1012--BLA4-------------------------
  2973. INT 10 - Cirrus Logic BIOS - SET MONITOR TYPE
  2974.     AH = 12h
  2975.     BL = A4h
  2976.     AL bits 3-0 = maximum vertical resolution
  2977.         (0 = 480 scanlines, 1 = 600, 2 = 768, 3 = 1024, other reserved)
  2978.     AL bits 7-4 = vertical refresh at 640x480
  2979.         (0 = 60Hz, 1 = 72Hz, other reserved)
  2980.     BH bits 3-0 = vertical refresh at 800x600
  2981.         (0 = 56Hz, 1 = 60Hz, 2 = 72Hz, other reserved)
  2982.     BH bits 7-4 = vertical refresh at 1024x768
  2983.         (0=87Hz-int, 1=60Hz, 2=70Hz, 3=72Hz, 4=76Hz, other reserved)
  2984.     CH bits 4-7 = vertical refresh at 1280x1024
  2985.         (0=87Hz-int, 1=60Hz, 2=70Hz, other reserved)
  2986. SeeAlso: AH=12h/BL=9Ah,AH=12h/BL=A3h
  2987. --------V-1012--BLBE-------------------------
  2988. INT 10 - Tseng ET-4000 BIOS v3.00 and v8.00 - BUG
  2989.     AH = 12h
  2990.     BL = BEh
  2991. Note:    due to an omitted end-of-list marker, these versions of the BIOS will
  2992.       crash the system on this function
  2993. --------V-1012--BLC6-------------------------
  2994. INT 10 - Tseng ET-4000 BIOS v3.00 and v8.00 - BUG
  2995.     AH = 12h
  2996.     BL = C6h
  2997. Note:    due to an omitted end-of-list marker, these versions of the BIOS will
  2998.       crash the system on this function
  2999. --------V-1012--BLF0-------------------------
  3000. INT 10 - Tseng ET-4000 BIOS v3.00 and v8.00 - BUG
  3001.     AH = 12h
  3002.     BL = F0h
  3003. Note:    due to an omitted end-of-list marker, these versions of the BIOS will
  3004.       crash the system on this function
  3005. --------V-1013-------------------------------
  3006. INT 10 - VIDEO - WRITE STRING (AT and later,EGA)
  3007.     AH = 13h
  3008.     AL = write mode
  3009.        bit 0: update cursor after writing
  3010.        bit 1: string contains alternating characters and attributes
  3011.        bits 2-7: reserved (0)
  3012.     BH = page number
  3013.     BL = attribute if string contains only characters
  3014.     CX = number of characters in string
  3015.     DH,DL = row,column at which to start writing
  3016.     ES:BP -> string to write
  3017. Notes:    recognizes CR, LF, BS, and bell; for the ET4000 BIOS, scrolling,
  3018.       backspace, and CR only take place in the active page
  3019.     also available PC or XT with EGA or higher
  3020.     HP 95LX only supports write mode 00h
  3021. BUG:    on the IBM VGA Adapter, any scrolling which may occur is performed on
  3022.       the active page rather than the requested page
  3023. SeeAlso: AH=09h,AH=0Ah,AH=13h"DOS/V"
  3024. --------J-1013-------------------------------
  3025. INT 10 - DOS/V - READ/WRITE DOUBLE-BYTE CHARACTER SET CHARACTERS/ATTRIBUTES
  3026.     AH = 13h
  3027.     AL = function
  3028.         10h read characters and standard attributes
  3029.         11h read characters and extended attributes
  3030.         12h write characters and standard attributes
  3031.         13h write characters and extended attributes
  3032.     BH = 00h
  3033.     CX = number of characters to transfer
  3034.     DH,DL = row,column at which to start transfer
  3035.     ES:BP -> buffer for/containing characters and attributes (see #0033)
  3036. Return: ES:BP buffer filled if reading
  3037. Program: DOS/V is a Japanese-language version of MS-DOS which can run on
  3038.       standard (non-Japanese) ATs and compatible equipped with a VGA or
  3039.       newer video adapter
  3040. Notes:    subfunctions 11h and 13h are only valid when DOS/V is using video
  3041.       mode 73h
  3042.     the cursor position is not changed by these functions
  3043.     extended attributes consist of three bytes; the first is the standard
  3044.       character attribute byte, the second is as described below, and the
  3045.       third is always zero in current versions
  3046. SeeAlso: AH=00h,AH=13h"VIDEO"
  3047.  
  3048. Bitfields for DOS/V second extended attribute byte:
  3049. Bit(s)    Description    (Table 0033)
  3050.  7    underline using foreground color
  3051.  6    reverse foreground/background specified in standard attribute byte
  3052.  5-4    unused
  3053.  3    vertical white grid line in cell
  3054.  2    horizontal white grid line in cell
  3055.  1-0    unused
  3056. SeeAlso: #0013,#0025
  3057. --------V-101400-----------------------------
  3058. INT 10 - VIDEO - LOAD USER-SPECIFIED LCD CHARACTER FONT (CONV,Compaq Port 386)
  3059.     AX = 1400h
  3060.     ES:DI -> character font
  3061.     BH = number of bytes per character
  3062.         08h or 10h (Compaq)
  3063.     BL = 00h load main font (block 0)
  3064.          01h load alternate font (block 1)
  3065.     CX = number of characters to store
  3066.     DX = character offset into RAM font area
  3067. SeeAlso: AH=11h,AX=1401h
  3068. --------V-101401-----------------------------
  3069. INT 10 - VIDEO - LOAD SYSTEM ROM DEFAULT LCD CHARACTER FONT (CONV,CP386)
  3070.     AX = 1401h
  3071.     BL = font to load
  3072.         00h main font (block 0)
  3073.         01h alternate font (block 1)
  3074. SeeAlso: AH=11h,AX=1400h
  3075. --------V-101402-----------------------------
  3076. INT 10 - VIDEO - SET MAPPING OF LCD HIGH INTENSITY ATTRIBUTES (CONV,CP386)
  3077.     AX = 1402h
  3078.     BL = function
  3079.         00h ignore high intensity attribute
  3080.         01h map high intensity to reverse video
  3081.         02h map high intensity to underscore
  3082.         03h map high intensity to selected alternate font
  3083.         B0h half intensity (Compaq)
  3084.         B1h toggle active intensity bit interpretation (CP386)
  3085. --------V-1015-------------------------------
  3086. INT 10 - VIDEO - GET PHYSICAL DISPLAY PARAMETERS (CONVERTIBLE)
  3087.     AH = 15h
  3088. Return: AX = alternate display adapter type (see #0034)
  3089.     ES:DI -> parameter table (see #0035)
  3090. SeeAlso: AH=1Bh
  3091.  
  3092. (Table 0034)
  3093. Values for PC Convertible alternate display adapter type:
  3094.  0000h    none
  3095.  5140h    LCD
  3096.  5153h    CGA
  3097.  5151h    mono
  3098.  
  3099. Format of PC Convertible display parameter table:
  3100. Offset    Size    Description    (Table 0035)
  3101.  00h    WORD    monitor model number
  3102.  02h    WORD    vertical pixels per meter
  3103.  04h    WORD    horizontal pixels per meter
  3104.  06h    WORD    total vertical pixels
  3105.  08h    WORD    total horizontal pixels
  3106.  0Ah    WORD    horizontal pixel separation in micrometers
  3107.         (width, center-to-center)
  3108.  0Ch    WORD    vertical pixel separation in micrometers
  3109.         (height, center-to-center)
  3110. --------V-1015-------------------------------
  3111. INT 10 - VIDEO - SET SUPERIMPOSE MODE (Sperry PC)
  3112.     AH = 15h
  3113.     AL = superimpose mode
  3114.         00h show graphics screen
  3115.         01h show text screen
  3116.         02h show text screen superimposed on graphics screen
  3117. --------J-1018-------------------------------
  3118. INT 10 - VIDEO - DOS/V - GET/SET FONT PATTERN
  3119.     AH = 18h
  3120.     AL = function
  3121.         00h get font pattern
  3122.         01h set font pattern
  3123.     BX = 0000h
  3124.     CL = character size in bytes (01h,02h)
  3125.     CH = 00h 
  3126.     DH = character width in pixels
  3127.     DL = character height in pixels
  3128.     ES:DI -> buffer for/containing font image
  3129. Return: AL = status (00h successful, else error)
  3130.     ES:DI buffer filled for function 00h if successful
  3131. Note:    the supported font sizes are 8x16 single-byte, 8x19 single-byte,
  3132.       16x16 double-byte, and 24x24 double-byte
  3133. SeeAlso: AH=19h,INT 16/AH=14h
  3134. --------V-1019-------------------------------
  3135. INT 10 - Japanese VIDEO - DOUBLE-BYTE CHARACTER SET SHIFT INFORMATION
  3136.     AH = 19h
  3137.     ???
  3138. Return: ???
  3139. SeeAlso: AH=18h,INT 16/AH=14h
  3140. --------V-101A00-----------------------------
  3141. INT 10 - VIDEO - GET DISPLAY COMBINATION CODE (PS,VGA/MCGA)
  3142.     AX = 1A00h
  3143. Return: AL = 1Ah if function was supported
  3144.         BL = active display code (see #0036)
  3145.         BH = alternate display code (see #0036)
  3146. Note:    this function is supported on the ATI EGA Wonder with certain
  3147.       undocumented configuration switch settings, even though the EGA
  3148.       Wonder does not support VGA graphics; to distinguish this case,
  3149.       call AX=1C00h with CX nonzero, which the EGA Wonder does not support
  3150. SeeAlso: AH=12h/BL=35h,AX=1A01h,AH=1Bh
  3151.  
  3152. (Table 0036)
  3153. Values for display combination code:
  3154.  00h    no display
  3155.  01h    monochrome adapter w/ monochrome display
  3156.  02h    CGA w/ color display
  3157.  03h    reserved
  3158.  04h    EGA w/ color display
  3159.  05h    EGA w/ monochrome display
  3160.  06h    PGA w/ color display
  3161.  07h    VGA w/ monochrome analog display
  3162.  08h    VGA w/ color analog display
  3163.  09h    reserved
  3164.  0Ah    MCGA w/ digital color display
  3165.  0Bh    MCGA w/ monochrome analog display
  3166.  0Ch    MCGA w/ color analog display
  3167.  FFh    unknown display type
  3168. --------V-101A01-----------------------------
  3169. INT 10 - VIDEO - SET DISPLAY COMBINATION CODE (PS,VGA/MCGA)
  3170.     AX = 1A01h
  3171.     BL = active display code (see #0036)
  3172.     BH = alternate display code
  3173. Return: AL = 1Ah if function was supported
  3174. SeeAlso: AH=12h/BL=35h,AX=1A00h
  3175. --------V-101B-------------------------------
  3176. INT 10 - VIDEO - FUNCTIONALITY/STATE INFORMATION (PS,VGA/MCGA)
  3177.     AH = 1Bh
  3178.     BX = implementation type
  3179.         0000h return funtionality/state information
  3180.     ES:DI -> 64-byte buffer for state information (see #0037)
  3181. Return: AL = 1Bh if function supported
  3182.         ES:DI buffer filled with state information
  3183. BUG:    Trident 8900 (BIOS D3.0 11/12/91) and Trident 9000 (C3.0 10/25/91)
  3184.       do not correctly set the fields at offsets 27h and 29h of the
  3185.       state information
  3186. SeeAlso: AH=15h,AX=1A00h,AX=1F01h
  3187.  
  3188. Format of MCGA+ state information:
  3189. Offset    Size    Description    (Table 0037)
  3190.  00h    DWORD    address of static funtionality table (see #0040)
  3191.  04h    BYTE    video mode in effect
  3192.  05h    WORD    number of columns
  3193.  07h    WORD    length of regen buffer in bytes
  3194.  09h    WORD    starting address of regen buffer
  3195.  0Bh    WORD    cursor position for page 0
  3196.  0Dh    WORD    cursor position for page 1
  3197.  0Fh    WORD    cursor position for page 2
  3198.  11h    WORD    cursor position for page 3
  3199.  13h    WORD    cursor position for page 4
  3200.  15h    WORD    cursor position for page 5
  3201.  17h    WORD    cursor position for page 6
  3202.  19h    WORD    cursor position for page 7
  3203.  1Bh    WORD    cursor "type" (start/stop scan lines)
  3204.  1Dh    BYTE    active display page
  3205.  1Eh    WORD    CRTC port address
  3206.  20h    BYTE    current setting of register (3?8)
  3207.  21h    BYTE    current setting of register (3?9)
  3208.  22h    BYTE    number of rows - 1
  3209.  23h    WORD    bytes/character
  3210.  25h    BYTE    display combination code of active display
  3211.  26h    BYTE    DCC of alternate display
  3212.  27h    WORD    number of colors supported in current mode (0000h = mono)
  3213.  29h    BYTE    number of pages supported in current mode
  3214.  2Ah    BYTE    number of scan lines active
  3215.         (0,1,2,3) = (200,350,400,480)
  3216.         Tseng ET3000: (4,5,6 = 512,600,768)
  3217.  2Bh    BYTE    primary character block
  3218.  2Ch    BYTE    secondary character block
  3219.  2Dh    BYTE    miscellaneous flags (see #0038)
  3220.  2Eh  3 BYTEs    reserved (00h)
  3221.  31h    BYTE    video memory available
  3222.         00h = 64K, 01h = 128K, 02h = 192K, 03h = 256K
  3223.  32h    BYTE    save pointer state flags (see #0039)
  3224.  33h 13 BYTEs    reserved (00h)
  3225.  
  3226. Bitfields for miscellaneous flags:
  3227. Bit(s)    Description    (Table 0038)
  3228.  0    all modes on all displays on
  3229.  1    gray summing on
  3230.  2    monochrome display attached
  3231.  3    default palette loading disabled
  3232.  4    cursor emulation enabled
  3233.  5    0 = intensity; 1 = blinking
  3234.  6    PS/2 P70 plasma display (without 9-dot wide font) active
  3235.  7    unused (0)
  3236.  
  3237. Bitfields for save pointer state flags:
  3238. Bit(s)    Description    (Table 0039)
  3239.  0    512 character set active
  3240.  1    dynamic save area present
  3241.  2    alpha font override active
  3242.  3    graphics font override active
  3243.  4    palette override active
  3244.  5    DCC override active
  3245.  6-7    unused (0)
  3246.  
  3247. Format of Static Functionality Table:
  3248. Offset    Size    Description    (Table 0040)
  3249.  00h    BYTE    modes supported 1
  3250.         bit 0 to bit 7 = 1 modes 0,1,2,3,4,5,6,7 supported
  3251.  01h    BYTE    modes supported 2
  3252.         bit 0 to bit 7 = 1 modes 8,9,0Ah,0Bh,0Ch,0Dh,0Eh,0Fh supported
  3253.  02h    BYTE    modes supported 3
  3254.         bit 0 to bit 3 = 1 modes 10h,11h,12h,13h supported
  3255.         bit 4 to bit 7 unused (0)
  3256.  03h    BYTE    (IBM) reserved
  3257.         (Tseng ET3000/4000) modes supported 4
  3258.                 bit 0 to bit 7 = modes 18h-1Fh supported
  3259.  04h    BYTE    (IBM) reserved
  3260.         (Tseng ET3000/4000) modes supported 5
  3261.                 bit 0 to bit 7 = modes 20h-27h supported
  3262.  05h    BYTE    (IBM) reserved
  3263.         (Tseng ET3000/4000) modes supported 6
  3264.                 bit 0 to bit 7 = modes 28h-2Fh supported
  3265.  06h    BYTE    (IBM) reserved
  3266.         (Tseng ET3000/4000) modes supported 7
  3267.                 bit 0 to bit 7 = modes 30h-37h supported
  3268.  07h    BYTE    scan lines supported
  3269.         bit 0 to bit 2 = 1 if scan lines 200,350,400 supported
  3270.         bits 3-7 = unused (0)
  3271.  08h    BYTE    total number of character blocks available in text modes
  3272.  09h    BYTE    maximum number of active character blocks in text modes
  3273.  0Ah    WORD    miscellaneous function support flags (see #0041)
  3274.  0Ch    WORD    reserved
  3275.  0Eh    BYTE    save pointer function flags (see #0042)
  3276.  0Fh    BYTE    reserved
  3277.  
  3278. Bitfields for miscellaneous function support flags:
  3279. Bit(s)    Description    (Table 0041)
  3280.  0    all modes on all displays function supported
  3281.  1    gray summing function supported
  3282.  2    character font loading function supported
  3283.  3    default palette loading enable/disable supported
  3284.  4    cursor emulation function supported
  3285.  5    EGA palette present
  3286.  6    color palette present
  3287.  7    color-register paging function supported
  3288.  8    light pen supported (see AH=04h)
  3289.  9    save/restore state function 1Ch supported
  3290.  10    intensity/blinking function supported (see AX=1003h)
  3291.  11    Display Combination Code supported (see #0036)
  3292.  12-15    unused (0)
  3293.  
  3294. Bitfields for save pointer function flags:
  3295. Bit(s)    Description    (Table 0042)
  3296.  0    512 character set supported
  3297.  1    dynamic save area supported
  3298.  2    alpha font override supported
  3299.  3    graphics font override supported
  3300.  4    palette override supported
  3301.  5    DCC extension supported
  3302.  6-7    unused (0)
  3303. --------V-101C-------------------------------
  3304. INT 10 - VIDEO - SAVE/RESTORE VIDEO STATE (PS50+,VGA)
  3305.     AH = 1Ch
  3306.     AL = function
  3307.         00h return state buffer size
  3308.         Return: BX = number of 64-byte blocks needed
  3309.         01h save video state
  3310.         ES:BX -> buffer
  3311.         02h restore video state
  3312.         ES:BX -> buffer containing previously saved state
  3313.     CX = requested states (see #0043)
  3314. Return: AL = 1Ch if function supported
  3315. Notes:    many BIOSes corrupt the video registers when saving the state, so a
  3316.       program should restore the state immediately after saving it (the
  3317.       saved data is uncorrupted)
  3318.     the BIOS data area consists of the 96 bytes from 0040h:0049h-00A8h
  3319.     this function is not supported when DOS/V is running
  3320.  
  3321. Bitfields for requested states:
  3322. Bit(s)    Description    (Table 0043)
  3323.  0    video hardware (see #0044)
  3324.  1    BIOS data areas
  3325.  2    color registers and DAC state (see #0045)
  3326.  3-15    unused (0)
  3327.  
  3328. Format of VGA video hardware state:
  3329. Offset    Size    Description    (Table 0044)
  3330.  00h    BYTE    sequencer index register
  3331.  01h    BYTE    CRTC index register
  3332.  02h    BYTE    graphics controller index register
  3333.  03h    BYTE    attribute controller index register
  3334.  04h    BYTE    feature controller register
  3335.  05h  4 BYTEs    sequencer registers
  3336.  09h    BYTE    sequencer register 0
  3337.  0Ah 25 BYTEs    CRTC registers 0-8
  3338.  23h 16 BYTEs    palette registers 00h-0Fh
  3339.  33h  4 BYTEs    attribute registers 10h-13h
  3340.  37h  9 BYTEs    graphics controller registers 0-8
  3341.  40h    BYTE    CRTC base address (low)
  3342.  41h    BYTE    CRTC base address (high)
  3343.  42h    BYTE    plane 0 latch
  3344.  43h    BYTE    plane 1 latch
  3345.  44h    BYTE    plane 2 latch
  3346.  45h    BYTE    plane 3 latch
  3347.  
  3348. Format of VGA DAC state:
  3349. Offset    Size    Description    (Table 0045)
  3350.  00h    BYTE    read/write mode DAC
  3351.  01h    BYTE    pixel address
  3352.  02h    BYTE    pixel mask
  3353.  03h 768 BYTEs    color data (256 triples)
  3354. 303h    BYTE    color select register
  3355. --------J-101D-------------------------------
  3356. INT 10 - VIDEO - DOS/V - SHIFT STATUS LINE CONTROL
  3357.     AH = 1Dh
  3358.     AL = function
  3359.         00h enable shift status line(s)
  3360.         BX = number of lines to reserve at bottom of screen (usu. 1)
  3361.         01h disable shift status line
  3362.         BX = number of lines reserved at bottom of screen (usually 1)
  3363.         02h get number of status lines
  3364.         Return: BX = number of lines reserved for shift status
  3365. SeeAlso: AH=19h
  3366. --------V-101D-------------------------------
  3367. INT 10 - SpeedSTAR Plus BIOS v4.23+ - SET SYNC PARAMETERS
  3368.     AH = 1Dh
  3369.     AL = video mode
  3370.     ES = caller's segment
  3371. Return: nothing
  3372. Note:    the caller's segment contains at offset 5Ch (FCB field in PSP)
  3373.       or 100h a table with sync parameters (see #0046) (BIOS looks at both
  3374.       offsets)
  3375.  
  3376. Format of SpeedSTAR Plus sync table:
  3377. Offset    Size    Description    (Table 0046)
  3378.  00h  9 BYTEs    ID contains string 'ey5CENTER'
  3379.  09h  5 BYTEs    sync parameters for 640x480 modes 11h,12h,25h,26h,2Eh
  3380.  0Bh  5 BYTEs    sync parameters for 800x600 modes 29h,30h,2Ah
  3381.  13h  5 BYTEs    sync parameters for 1024x768 modes 37h,38h
  3382. --------V-101D-------------------------------
  3383. INT 10 - Tseng ET-4000 BIOS v3.00 and v8.00 - BUG
  3384.     AH = 1Dh
  3385. Note:    these versions of the BIOS jump to a random location on this function
  3386.       due to a fencepost error
  3387. --------V-101F00-----------------------------
  3388. INT 10 - VIDEO - XGA - GET DMQS (Display Mode Query and Set) DATA LENGTH
  3389.     AX = 1F00h
  3390. Return: AL = 1Fh if supported
  3391.         BX = number of bytes of DMQS data
  3392. Note:    not supported on the original IBM XGA, only on XGA-NI (non-interlaced)
  3393.       and later models.
  3394. SeeAlso: AX=1F01h
  3395. --------V-101F01-----------------------------
  3396. INT 10 - VIDEO - XGA - READ DMQS DATA
  3397.     AX = 1F01h
  3398.     ES:DI -> user buffer for return data (call AX=1F00h for size)
  3399. Return: AL = 1Fh if function supported
  3400.     user buffer filled with DMQS data (see #0047)
  3401. Note:    not supported on the original IBM XGA, only on XGA-NI (non-interlaced)
  3402.       and later models.
  3403. SeeAlso: AH=1Bh,AX=1F00h,AX=3000h
  3404.  
  3405. Format of XGA DMQS buffer:
  3406. Offset    Size    Description    (Table 0047)
  3407.  00h    WORD    offset (in bytes) to DMQS data for next XGA instance
  3408.  02h    BYTE    slot number
  3409.  03h    BYTE    XGA implementation function level identifier
  3410.  04h    BYTE    XGA implementation resolution level identifier
  3411.  05h    WORD    vendor identifier - identifies card vendor
  3412.  07h    WORD    vendor defined field
  3413.  09h    WORD    XGA adapter I/O register base address
  3414.  0Bh    WORD    XGA coprocessor register base address
  3415.         (paragraph--multiply by 10h to get physical address)
  3416.  0Dh    WORD    1 Megabyte system video memory aperture
  3417.         0000h if not allocated
  3418.         (Multiply by 100000h to get physical address)
  3419.  0Fh    WORD    4 Megabyte system video memory aperture
  3420.         0000h if not allocated
  3421.         (multiply by 100000h to get physical address)
  3422.  11h    WORD    video memory base address
  3423.         (multiply by 100000h to get physical address)
  3424.  13h    WORD    composite ID of the attached display
  3425.  15h    BYTE    amount of video memory available, in multiples of 256K bytes
  3426.  16h    DWORD    alternate XGA coprocessor register base address.  0 = none.
  3427.  1Ah    var    DMQS Data for further XGA Instances (as above)
  3428. Note:    "Instances" refers to the capability of having up to 8 XGA
  3429.       adapters in one computer.
  3430. --------V-103000CX0000-----------------------
  3431. INT 10 - VIDEO - LOCATE 3270PC CONFIGURATION TABLE (INSTALLATION CHECK)
  3432.     AX = 3000h
  3433.     CX = 0000h
  3434.     DX = 0000h
  3435. Return: CX:DX -> 3270PC configuration table (see #0048)
  3436.     CX:DX = 0000h:0000h if 3270PC Control Program not active
  3437. SeeAlso: AX=1F01h
  3438.  
  3439. Format of 3270 PC configuration table:
  3440. Offset    Size    Description    (Table 0048)
  3441.  00h    BYTE    aspect ratio X
  3442.  01h    BYTE    aspect ratio Y
  3443.  02h    BYTE    monitor type (see #0049)
  3444.  03h    BYTE    reserved
  3445.  04h    BYTE    adapter ID
  3446.         00h = 5151/5272 adapter
  3447.         04h = 5151/5272 with XGA adapter
  3448.         30h = 3295 or 3270PC G/GX adapter
  3449.  05h    BYTE    reserved
  3450.  06h    BYTE    function flags 1 (see #0050)
  3451.  07h    BYTE    function flags 2
  3452.         bit 6: GPI graphics supported
  3453.  08h    WORD    segment address of Control Program Level table (see #0051)
  3454.  0Ah 10 BYTEs    reserved
  3455.  
  3456. (Table 0049)
  3457. Values for 3270 PC monitor type:
  3458.  00h    5151 (mono) or 5272 (color)
  3459.  01h    3295
  3460.  02h    5151 or 5272 with XGA (???) graphics adapter
  3461.  03h    5279 with 3270PC G adapter
  3462.  04h    5379 model C01 with 3270PC GX adapter
  3463.  05h    5379 model M01 with 3270PC GX adapter
  3464.  07h    non-3270PC with 3270 Workstation Program
  3465.  FFh    3270PC Control Program not loaded
  3466.  
  3467. Bitfields for 3270 PC function flags 1:
  3468. Bit(s)    Description    (Table 0050)
  3469.  7    mono text, 1 page
  3470.  6    color text, 1 page
  3471.  5    color text, 4 pages
  3472.  4    CGA color graphics
  3473.  3    720x350 two-color graphics
  3474.  2    360x350 four-color graphics
  3475.  1    720x350 eight-color graphics
  3476.  
  3477. Format of Control Program Level table:
  3478. Offset    Size    Description    (Table 0051)
  3479.  00h    WORD    program version
  3480.         02xxh = 3270PC Control Program v2.xx
  3481.         03xxh = 3270PC Control Program v3.xx
  3482.         04xxh = 3270 Workstation Program v1.xx
  3483.  02h    BYTE    Control Program ID (00h)
  3484.  03h 27 BYTEs    Control Program Descriptor ("IBM 3270 PC CONTROL PROGRAM")
  3485. --------a-103800-----------------------------
  3486. INT 10 - Tinytalk Personal v1.09f+ - GET CONFIGURATION INFO
  3487.     AX = 3800h
  3488. Return: ES:DI -> configuration info (see #0052)
  3489. Program: Tinytalk is a shareware screen reader by OMS Development/Eric Bohlman
  3490. Notes:    this call is also used as the installation check by verifying that the
  3491.       returned ES:DI points at valid configuration info
  3492.     Tinytalk v1.09f ignores AL and always returns the configuration info;
  3493.       v1.10 adds several subfunctions selected with AL
  3494. SeeAlso: AX=3801h,AX=3803h,AX=3806h,AH=39h,INT 14/AX=F0F1h
  3495. SeeAlso: INT 2F/FB00h"AutoBraille"
  3496. Index:    installation check;Tinytalk Personal
  3497.  
  3498. Format of Tinytalk Personal configuration info:
  3499. Offset    Size    Description    (Table 0052)
  3500.  00h  8 BYTEs    signature "TTCONFIG"
  3501.  08h    WORD    size of configuration data, not counting signature, this WORD,
  3502.           or the following byte
  3503.  0Ah    BYTE    ???
  3504.  0Bh    ???    configuration data
  3505. --------a-103801-----------------------------
  3506. INT 10 - Tinytalk Personal v1.10 - ???
  3507.     AX = 3801h
  3508.     DL = ???
  3509. Return: ???
  3510. SeeAlso: AX=3800h,AX=3802h
  3511. --------a-103802-----------------------------
  3512. INT 10 - Tinytalk Personal v1.10 - ???
  3513.     AX = 3802h
  3514.     DL = ???
  3515. Return: ???
  3516. SeeAlso: AX=3800h,AX=3801h
  3517. --------a-103803-----------------------------
  3518. INT 10 - Tinytalk Personal v1.10 - GET ???
  3519.     AX = 3803h
  3520. Return: AL = ???
  3521. SeeAlso: AX=3800h,AX=3804h,AX=3805h
  3522. --------a-103804-----------------------------
  3523. INT 10 - Tinytalk Personal v1.10 - GET ???
  3524.     AX = 3804h
  3525. Return: AX = ???
  3526. SeeAlso: AX=3800h,AX=3803h,AX=3805h
  3527. --------a-103805-----------------------------
  3528. INT 10 - Tinytalk Personal v1.10 - GET ???
  3529.     AX = 3805h
  3530. Return: AL = ???
  3531. SeeAlso: AX=3800h,AX=3803h,AX=3804h
  3532. --------a-103806-----------------------------
  3533. INT 10 - Tinytalk Personal v1.10 - ???
  3534.     AX = 3806h
  3535.     ES:DX -> ASCIZ ???
  3536. Return: ???
  3537. SeeAlso: AX=3800h
  3538. --------a-1039-------------------------------
  3539. INT 10 - Tinytalk Personal v1.10 - ???
  3540.     AH = 39h
  3541. Program: Tinytalk is a shareware screen reader by OMS Development/Eric Bohlman
  3542. Note:    this function was a NOP in TTDEMO.EXE, but may be implemented in other
  3543.       variants of Tinytalk
  3544. --------V-1040-------------------------------
  3545. INT 10 - VIDEO - SET GRAPHICS MODE (Hercules GRAFIX)
  3546.     AH = 40h
  3547. Desc:    switch the Hercules Graphics Card into graphics mode (720x348)
  3548. SeeAlso: AH=00h,AH=41h
  3549. Index:    video modes;Hercules
  3550. --------V-1041-------------------------------
  3551. INT 10 - VIDEO - SET TEXT MODE (Hercules GRAFIX)
  3552.     AH = 41h
  3553. Desc:    switch the Hercules Graphics Card into text mode
  3554. SeeAlso: AH=00h,AH=40h
  3555. Index:    video modes;Hercules
  3556. --------V-1042-------------------------------
  3557. INT 10 - VIDEO - CLEAR CURRENT PAGE (Hercules GRAFIX)
  3558.     AH = 42h
  3559. SeeAlso: AH=45h
  3560. --------V-1043-------------------------------
  3561. INT 10 - VIDEO - SELECT DRAWING PAGE (Hercules GRAFIX)
  3562.     AH = 43h
  3563.     AL = page number (0,1)
  3564. Desc:    specify which of the two pages of video memory is to be used for
  3565.       output
  3566. SeeAlso: AH=05h,AH=44h,AH=45h
  3567. --------V-1044-------------------------------
  3568. INT 10 - VIDEO - SELECT DRAWING FUNCTION (Hercules GRAFIX)
  3569.     AH = 44h
  3570.     AL = drawing function
  3571.         00h clear pixels
  3572.         01h set pixels
  3573.         02h invert pixels
  3574. Desc:    specify how graphics output will change the display
  3575. SeeAlso: AH=45h,AH=46h,AH=4Ch,AH=4Dh
  3576. --------V-1045-------------------------------
  3577. INT 10 - VIDEO - SELECT PAGE TO DISPLAY (Hercules GRAFIX)
  3578.     AH = 45h
  3579.     AL = page number (0,1)
  3580. Desc:    specify which of the two pages of video memory is visible on screen
  3581. SeeAlso: AH=05h,AH=42h,AH=43h
  3582. --------V-1046-------------------------------
  3583. INT 10 - VIDEO - DRAW ONE PIXEL (Hercules GRAFIX)
  3584.     AH = 46h
  3585.     DI = x (0-719)
  3586.     BP = y (0-347)
  3587. Note:    function 44h determines operation and function 43h which page to use
  3588. SeeAlso: AH=0Ch,AH=47h,AH=49h,AH=4Ch,AH=4Dh
  3589. --------V-1047-------------------------------
  3590. INT 10 - VIDEO - FIND PIXEL VALUE (Hercules GRAFIX)
  3591.     AH = 47h
  3592.     DI = x (0-719)
  3593.     BP = y (0-347)
  3594. Return: AL = 00h pixel clear
  3595.     AL = 01h pixel set
  3596. Note:    function 43h specifies which page is used
  3597. SeeAlso: AH=0Dh,AH=46h
  3598. --------V-1048-------------------------------
  3599. INT 10 - VIDEO - MOVE TO POINT (Hercules GRAFIX)
  3600.     AH = 48h
  3601.     DI = x (0-719)
  3602.     BP = y (0-347)
  3603. Desc:    specify the location from which to start the next graphics output
  3604. SeeAlso: AH=49h
  3605. --------V-1049-------------------------------
  3606. INT 10 - VIDEO - DRAW TO POINT (Hercules GRAFIX)
  3607.     AH = 49h
  3608.     DI = x (0-719)
  3609.     BP = y (0-347)
  3610. Note:    function 48h or 49h specify first point, 44h operation and 43h page to
  3611.       use
  3612. SeeAlso: AH=43h,AH=44h,AH=48h,AH=4Ch,AH=4Dh
  3613. --------V-104A-------------------------------
  3614. INT 10 - VIDEO - BLOCK FILL (Hercules GRAFIX)
  3615.     AH = 4Ah
  3616.     DI = x coordinate of lower left corner
  3617.     BP = y coordinate of lower left corner
  3618.     BX = height in pixels
  3619.     CX = width in pixels
  3620. Desc:    draw a solid rectangle of the specified size at the given location
  3621. SeeAlso: AH=4Eh
  3622. --------V-104B-------------------------------
  3623. INT 10 - VIDEO - DISPLAY CHARACTER (Hercules GRAFIX)
  3624.     AH = 4Bh
  3625.     AL = character to display
  3626.     DI = x (0-719)
  3627.     BP = y (0-347)
  3628. Note:    unlike the other BIOS character functions character position is
  3629.       specified in pixels rather than rows and columns
  3630. SeeAlso: AH=09h,AH=0Ah
  3631. ----------104B-------------------------------
  3632. INT 10 - FRIEZE - API
  3633.     AH = 4Bh
  3634.     CL = function
  3635.         00h (v6.x-) print window
  3636.         AL = mode
  3637.             00h character
  3638.             01h normal
  3639.             02h sideways
  3640.         01h load window
  3641.         ES:BX -> ASCIZ filename from which to read
  3642.         02h save window
  3643.         ES:BX -> ASCIZ filename to which to write
  3644.         03h set print width
  3645.         AL = width in 1/4 inches
  3646.         04h set print height
  3647.         AL = height in 1/4 inches
  3648.         05h reserved
  3649.         06h set left margin
  3650.         AL = printout margin in 1/4 inches
  3651.         07h set window size
  3652.         ES:BX -> four-WORD structure with Xmin, Ymin, Xmax, Ymax
  3653.         08h reserved
  3654.         09h set patterns
  3655.         ES:BX -> 16-BYTE vector of screen->printer color correspondnces
  3656.         0Ah get patterns
  3657.         ES:BX -> 16-BYTE buffer for color correspondences
  3658.         0Bh set mode
  3659.         AL = mode
  3660.         0Ch (v7.41) ???
  3661.         AL = ???
  3662.             00h ??? (calls original INT 05)
  3663.             else ???
  3664.         0Dh (v7.41) ???
  3665.         AL = ???
  3666.             00h ??? (calls original INT 05)
  3667.             else ???
  3668.         0Eh (v7.41) ???
  3669.         ???
  3670.         0Fh get window
  3671.         ES:BX -> four-WORD buffer for Xmin, Ymin, Xmax, Ymax
  3672.         10h set print options
  3673.         ES:BX -> printer options in same format as FRIEZE cmdline
  3674.         11h initialize
  3675.         ES:BX -> three-WORD array from CARDS.DAT for HRes, VRes, code
  3676.         12h (v7.41) ???
  3677.         ???
  3678.         13h (v7.41) ???
  3679.         ???
  3680.         14h get version
  3681.         Return: AH = major version (00h if FRIEZE version before 7)
  3682.             AL = minor version
  3683.         15h set parameters
  3684.         ES:BX -> parameter table (see #0054)
  3685.         16h get parameters
  3686.         ES:BX -> buffer for parameter table (see #0054)
  3687.         17h get printer resolution
  3688.         ES:BX -> 12-WORD table for six horizontal/vertical resol pairs
  3689.         18h (v8.0 only) reserved
  3690.         50h (v7.41) get ???
  3691.         Return: AX = ???
  3692.         51h (v7.41) get ???
  3693.         Return: ES = ??? (seen 2348h)
  3694.             AX = ??? (seen 8432h)
  3695. Return: AX = status (see #0053)
  3696. SeeAlso: AH=0Fh/SI=F123h
  3697.  
  3698. (Table 0053)
  3699. Values for FRIEZE function status:
  3700.  00h    successful
  3701.  01h    user aborted printout with ESC
  3702.  02h    reserved
  3703.  03h    file read error
  3704.  04h    file write error or printer error
  3705.  05h    file not found
  3706.  06h    invalid header (not an image or wrong screen mode) or can't create file
  3707.  07h    file close error
  3708.  08h    disk error
  3709.  09h    (v7.0+) printer error
  3710.  0Ah    invalid function
  3711.  0Bh    (v7.0+) can't create file
  3712.  0Ch    (v7.0+) wrong video mode
  3713.  
  3714. Format of FRIEZE parameter table:
  3715. Offset    Size    Description    (Table 0054)
  3716.  00h    WORD    top margin (1/100 inch)
  3717.  02h    WORD    left margin (1/100 inch)
  3718.  04h    WORD    horizontal size (1/100 inch)
  3719.  06h    WORD    vertical size (1/100 inch)
  3720.  08h    WORD    quality/draft mode
  3721.         00h draft mode
  3722.         01h quality mode
  3723.         02h use horizontal/vertical resolution for output resolution
  3724.  0Ah    WORD    printer horizontal resolution (dots per inch)
  3725.  0Ch    WORD    printer vertical resolution (dots per inch)
  3726.  0Eh    WORD    reserved (FFFFh)
  3727. Note:    any field which should remain unchanged may be filled with FFFFh
  3728. --------V-104C-------------------------------
  3729. INT 10 - VIDEO - DRAW ARC (Hercules GRAFIX)
  3730.     AH = 4Ch
  3731.     AL = quadrant (1 = upper right, 2 = upper left, etc)
  3732.     DI = x coordinate of center
  3733.     BP = y coordinate of center
  3734.     BX = radius
  3735. SeeAlso: AH=49h,AH=4Dh
  3736. --------V-104D-------------------------------
  3737. INT 10 - VIDEO - DRAW CIRCLE (Hercules GRAFIX)
  3738.     AH = 4Dh
  3739.     DI = x of center
  3740.     BP = y of center
  3741.     BX = radius
  3742. SeeAlso: AH=49h,AH=4Ch
  3743. --------V-104E-------------------------------
  3744. INT 10 - VIDEO - FILL AREA (Hercules GRAFIX)
  3745.     AH = 4Eh
  3746.     DI = x coordinate of an interior point
  3747.     BP = y coordinate of an interior point
  3748. Desc:    fill a convex polygonal area bounded by a contiguous line of the
  3749.       opposite color with the border color
  3750. Note:    the first fill makes the figure solid, the second erases it
  3751. SeeAlso: AH=4Ah
  3752. --------V-104E00-----------------------------
  3753. INT 10 - VESA XGA BIOS Extensions - GET XGA ENVIRONMENT INFORMATION
  3754.     AX = 4E00h
  3755.     ES:DI -> 256-byte buffer for XGA information (see #0055)
  3756. Return: AL = 4Eh if function supported
  3757.         AH = status
  3758.         00h successful
  3759.         else error code
  3760. Desc:    determine whether VESA XGA extensions are present and the capabilities
  3761.       supported by the display adapter
  3762. SeeAlso: AX=4E01h,AX=4E02h,AX=4F00h
  3763. Index:    installation check;VESA XGA
  3764.  
  3765. Format of XGA information buffer:
  3766. Offset    Size    Description    (Table 0055)
  3767.  00h  4 BYTEs    signature ("VESA")
  3768.  04h    WORD    VESA version number
  3769.  06h    DWORD    pointer to ASCIZ OEM string
  3770.  0Ah    DWORD    environment flags (see #0056)
  3771.  0Eh    WORD    number of XGA adapters installed (other VESA XGA functions
  3772.           require a handle indicating which adapter to use)
  3773.  10h 240 BYTEs    reserved
  3774.  
  3775. Bitfields for XGA environment flags:
  3776. Bit(s)    Description    (Table 0056)
  3777.  0-1    system bus (00 = MCA, 01 = ISA, 10 = EISA)
  3778.  2    bus mastering available
  3779.  3-31    reserved
  3780. --------V-104E01----------------------------
  3781. INT 10 - VESA XGA BIOS Extensions - RETURN XGA SUBSYSTEM INFORMATION
  3782.     AX = 4E01h
  3783.     DX = XGA handle (0 to number of XGAs-1)
  3784.     ES:DI -> 256-byte buffer for subsystem information (see #0057)
  3785. Return: AL = 4Eh if function supported
  3786.     AH = status
  3787.         00h     function successful
  3788.         else error code
  3789. SeeAlso: AX=4E00h,AX=4E02h
  3790.  
  3791. Format of XGA subsystem information:
  3792. Offset    Size    Description    (Table 0057)
  3793.  00h    DWORD    pointer to null-terminated board OEM string
  3794.  04h    DWORD    capabilities (see #0058)
  3795.  08h    DWORD    pointer to 8KB XGA ROM (or NULL)
  3796.  0Ch    DWORD    pointer to the XGA memory mapped registers
  3797.  10h    WORD    base address of XGA I/O registers (21x0h)
  3798.  12h    DWORD    pointer to start of physical video memory
  3799.         (A000h:0000h or B000h:0000h)
  3800.  16h    DWORD    physical address of 4MB aperture (or NULL if none)
  3801.  1Ah    DWORD    physical address of 1MB aperture (or NULL if none)
  3802.  1Eh    DWORD    physical address of 64KB aperture (or NULL if not enabled)
  3803.  22h    DWORD    physical address of OEM aperture (or NULL if none)
  3804.  26h    WORD    size of OEM aperture in 64KByte units
  3805.  28h    DWORD    pointer to list of video modes
  3806.         The list is a series of WORDs terminated by FFFFh
  3807.  2Ch    WORD    number of 64KB blocks on the board
  3808.  2Eh    DWORD    XGA manufacturer ID
  3809.         byte 0 POS data index 1
  3810.         byte 1 is index 2
  3811.         byte 2 is 21xAh index 75h
  3812.  32h 206 BYTEs    reserved
  3813.  
  3814. Bitfields for XGA capabilities:
  3815. Bit(s)    Description    (Table 0058)
  3816.  0-1    board bus architecture: 0=MCA, 1=ISA, 3=EISA
  3817.  2-3    reserved
  3818.  4-6    DMA Channel assigned for acquiring bus mastership (only for ISA bus)
  3819.  7    DMA Channel Status (ISA only). enabled if set
  3820.  8-31    reserved
  3821. --------V-104E02-----------------------------------
  3822. INT 10 - VESA XGA BIOS Extensions - RETURN XGA MODE INFORMATION
  3823.     AX = 4E02h
  3824.     CX = Video mode
  3825.     DX = XGA handle
  3826.     ES:DI -> 256 byte buffer for mode information (see #0059)
  3827. Return: AL = 4Eh if function supported
  3828.     AH = status
  3829.         00h     function successful
  3830.         else error code
  3831. SeeAlso: AX=4E00h,AX=4E01h
  3832.  
  3833. Format of XGA mode information:
  3834. Offset    Size    Description    (Table 0059)
  3835.  00h    WORD    attributes of the mode (see #0060)
  3836.  02h    WORD    bytes per logical scanline
  3837.  04h    WORD    horizontal resolution in pixels
  3838.  06h    WORD    vertical resolution in scanlines
  3839.  08h    BYTE    character Width in pixels
  3840.  09h    BYTE    character Height in pixels
  3841.  0Ah    BYTE    number of planes
  3842.  0Bh    BYTE    bits per pixels
  3843.  0Ch    BYTE    memory model (see #0061)
  3844.  0Dh    BYTE    number of Image Pages
  3845.  0Eh    BYTE    number of Red bits
  3846.  0Fh    BYTE    bit position of Red bit field
  3847.  10h    BYTE    number of Green bits
  3848.  11h    BYTE    bit position of Green bit field
  3849.  12h    BYTE    number of Blue bits
  3850.  13h    BYTE    bit position of Blue bit field
  3851.  14h    BYTE    number of Reserved bits
  3852.  15h    BYTE    bit position of Reserved bit field
  3853.  16h 235 BYTEs    reserved
  3854.  
  3855. Bitfields for XGA mode attributes:
  3856. Bit(s)    Description    (Table 0060)
  3857.  0    set if mode is supported
  3858.  1    reserved
  3859.  2    output is supported by the BIOS
  3860.  3    reserved
  3861.  4    if set this is a graphics mode (VGA registers inactive, XGA active),
  3862.       if clear this is a text mode (VGA registers active, XGA inactive)
  3863.  
  3864. (Table 0061)
  3865. Values for XGA video memory model:
  3866.  00h    Text Mode
  3867.  01h    CGA graphics
  3868.  02h    Hercules graphics
  3869.  03h    4-planar graphics
  3870.  04h    Packed Pixel
  3871.  05h    Non-chain 4, 256 color
  3872.  06h    Direct Color
  3873.  07h    YUV-24
  3874. --------V-104E03-----------------------------------
  3875. INT 10 - VESA XGA BIOS Extensions - SET XGA VIDEO MODE
  3876.     AX = 4E03h
  3877.     BX = video mode
  3878.     CX = other command flags
  3879.          bit 0  If clear the feature connector is set to the default state
  3880.     DX = XGA handle
  3881.     ES:DI -> 256 byte buffer
  3882. Return: AL = 4Eh if function supported
  3883.     AH = status
  3884.         00h     function successful
  3885.         else error code
  3886. SeeAlso: AH=00h,AX=4E04h,AX=4F02h
  3887. --------V-104E04-----------------------------------
  3888. INT 10 - VESA XGA BIOS Extensions - RETURN CURRENT VIDEO MODE
  3889.     AX = 4E04h
  3890.     DX = XGA handle
  3891. Return: AL = 4Eh if function supported
  3892.     AH = status
  3893.         00h     function successful
  3894.         BX??? = current mode
  3895.         else error code
  3896. SeeAlso: AH=0Fh,AX=4E03h,AX=4F03h
  3897. --------V-104E05-----------------------------------
  3898. INT 10 - VESA XGA BIOS Extensions - SET FEATURE CONNECTOR STATE
  3899.     AX = 4E05h
  3900.     BX = Feature Connector State (see #0062)
  3901.     DX = XGA handle
  3902. Return: AL = 4Eh if function supported
  3903.     AH = status
  3904.         00h     function successful
  3905.         else error code
  3906. SeeAlso: AX=4E00h,AX=4E06h
  3907.  
  3908. Bitfields for XGA Feature Connector State:
  3909. Bit(s)    Description    (Table 0062)
  3910.  0    Feature Connector is enabled
  3911.  1    Feature Connector is in Output Mode rather than Input Mode
  3912.  2-15    reserved (0)
  3913. --------V-104E06-----------------------------------
  3914. INT 10 - VESA XGA BIOS Extensions - RETURN FEATURE CONNECTOR STATE
  3915.     AX = 4E06h
  3916.     DX = XGA handle
  3917. Return: AL = 4Eh if function supported
  3918.     AH = status
  3919.         00h     function successful
  3920.         else error code
  3921.     BX = Feature Connector State (see #0062)
  3922. SeeAlso: AX=4E00h,AX=4E05h
  3923. --------V-104F00-----------------------------
  3924. INT 10 - VESA SuperVGA BIOS - GET SuperVGA INFORMATION
  3925.     AX = 4F00h
  3926.     ES:DI -> buffer for SuperVGA information (see #0063)
  3927. Return: AL = 4Fh if function supported
  3928.     AH = status
  3929.         00h successful
  3930.         ES:DI buffer filled
  3931.         01h failed
  3932. Desc:    determine whether VESA BIOS extensions are present and the capabilities
  3933.       supported by the display adapter
  3934. SeeAlso: AX=4E00h,AX=4F01h,AX=7F00h,AX=A00Ch
  3935. Index:    installation check;VESA SuperVGA
  3936.  
  3937. Format of SuperVGA information:
  3938. Offset    Size    Description    (Table 0063)
  3939.  00h  4 BYTEs    signature ("VESA")
  3940.  04h    WORD    VESA version number (one-digit minor version)
  3941.  06h    DWORD    pointer to OEM name
  3942.         "761295520" for ATI
  3943.  0Ah    DWORD    capabilities flags (see #0064)
  3944.  0Eh    DWORD    pointer to list of supported VESA and OEM video modes
  3945.         (list of words terminated with FFFFh)
  3946.  12h    WORD    total amount of video memory in 64K blocks
  3947. ---VBE v1.x ---
  3948.  14h 236 BYTEs    reserved
  3949. ---VBE v2.0 ---
  3950.  14h    WORD    OEM software version
  3951.  16h    DWORD    pointer to vendor name
  3952.  1Ah    DWORD    pointer to product name
  3953.  1Eh    DWORD    pointer to product revision string
  3954.  22h 222 BYTEs    reserved
  3955. 100h 256 BYTEs    OEM scratchpad
  3956. Notes:    the list of supported video modes is stored in the reserved portion of
  3957.       the SuperVGA information record by some implementations, and it may
  3958.       thus be necessary to either copy the mode list or use a different
  3959.       buffer for all subsequent VESA calls
  3960.     the 1.1 VESA document specifies 242 reserved bytes at the end, so the
  3961.       buffer should be 262 bytes to ensure that it is not overrun; for
  3962.       v2.0, the buffer should be 512 bytes
  3963.  
  3964. Bitfields for VESA capabilities:
  3965. Bit(s)    Description    (Table 0064)
  3966.  0    DAC can be switched into 8-bit mode
  3967.  1    non-VGA controller
  3968.  2    programmed DAC with blank bit
  3969. --------V-104F01-----------------------------
  3970. INT 10 - VESA SuperVGA BIOS - GET SuperVGA MODE INFORMATION
  3971.     AX = 4F01h
  3972.     CX = SuperVGA video mode
  3973.     ES:DI -> 256-byte buffer for mode information (see #0065)
  3974. Return: AL = 4Fh if function supported
  3975.     AH = status
  3976.         00h successful
  3977.         ES:DI buffer filled
  3978.         01h failed
  3979. Desc:    determine the attributes of the specified video mode
  3980. SeeAlso: AX=4F00h,AX=4F02h
  3981.  
  3982. Format of VESA SuperVGA mode information:
  3983. Offset    Size    Description    (Table 0065)
  3984.  00h    WORD    mode attributes (see #0066)
  3985.  02h    BYTE    window attributes, window A (see #0067)
  3986.  03h    BYTE    window attributes, window B (see #0067)
  3987.  04h    WORD    window granularity in KB
  3988.  06h    WORD    window size in KB
  3989.  08h    WORD    start segment of window A
  3990.  0Ah    WORD    start segment of window B
  3991.  0Ch    DWORD    -> FAR window positioning function (equivalent to AX=4F05h)
  3992.  10h    WORD    bytes per scan line
  3993. ---remainder is optional for VESA modes in v1.0/1.1, needed for OEM modes---
  3994.  12h    WORD    width in pixels (graphics) or characters (text)
  3995.  14h    WORD    height in pixels (graphics) or characters (text)
  3996.  16h    BYTE    width of character cell in pixels
  3997.  17h    BYTE    height of character cell in pixels
  3998.  18h    BYTE    number of memory planes
  3999.  19h    BYTE    number of bits per pixel
  4000.  1Ah    BYTE    number of banks
  4001.  1Bh    BYTE    memory model type (see #0068)
  4002.  1Ch    BYTE    size of bank in KB
  4003.  1Dh    BYTE    number of image pages
  4004.  1Eh    BYTE    reserved (0)
  4005. ---VBE v1.2+---
  4006.  1Fh    BYTE    red mask size
  4007.  20h    BYTE    red field position
  4008.  21h    BYTE    green mask size
  4009.  22h    BYTE    green field size
  4010.  23h    BYTE    blue mask size
  4011.  24h    BYTE    blue field size
  4012.  25h    BYTE    reserved mask size
  4013.  26h    BYTE    reserved mask position
  4014.  27h    BYTE    direct color mode info
  4015. ---VBE v2.0 ---
  4016.  28h    DWORD    physical address of linear video buffer
  4017.  2Ch    DWORD    pointer to start of offscreen memory
  4018.  30h    WORD    KB of offscreen memory
  4019.  32h 206 BYTEs    reserved (0)
  4020.  
  4021. Bitfields for VESA SuperVGA mode attributes:
  4022. Bit(s)    Description    (Table 0066)
  4023.  0    mode supported
  4024.  1    optional information available
  4025.  2    BIOS output supported
  4026.  3    set if color, clear if monochrome
  4027.  4    set if graphics mode, clear if text mode
  4028. ---VBE v2.0 ---
  4029.  5    mode is not VGA-compatible
  4030.  6    bank-switched mode not supported
  4031.  7    linear framebuffer mode supported
  4032.  
  4033. Bitfields for VESA SuperVGA window attributes:
  4034. Bit(s)    Description    (Table 0067)
  4035.  0    exists
  4036.  1    readable
  4037.  2    writable
  4038.  3-7    reserved
  4039.  
  4040. (Table 0068)
  4041. Values for VESA SuperVGA memory model type:
  4042.  00h    text
  4043.  01h    CGA graphics
  4044.  02h    HGC graphics
  4045.  03h    16-color (EGA) graphics
  4046.  04h    packed pixel graphics
  4047.  05h    "sequ 256" (non-chain 4) graphics
  4048.  06h    direct color (HiColor, 24-bit color)
  4049.  07h    YUV (luminance-chrominance, also called YIQ)
  4050.  08h-0Fh reserved for VESA
  4051.  10h-FFh OEM memory models
  4052. --------V-104F02-----------------------------
  4053. INT 10 - VESA SuperVGA BIOS - SET SuperVGA VIDEO MODE
  4054.     AX = 4F02h
  4055.     BX = mode (see #0069,#0070)
  4056.         bit 15 set means don't clear video memory
  4057.         bit 14 set means enable linear framebuffer mode (VBE v2.0+)
  4058. Return: AL = 4Fh if function supported
  4059.     AH = status
  4060.         00h successful
  4061.         01h failed
  4062. SeeAlso: AX=4E03h,AX=4F01h,AX=4F03h
  4063.  
  4064. (Table 0069)
  4065. Values for VESA video mode:
  4066.  00h-FFh OEM video modes (see #0009 at AH=00h)
  4067.  100h    640x400x256
  4068.  101h    640x480x256
  4069.  102h    800x600x16
  4070.  103h    800x600x256
  4071.  104h    1024x768x16
  4072.  105h    1024x768x256
  4073.  106h    1280x1024x16
  4074.  107h    1280x1024x256
  4075.  108h    80x60 text
  4076.  109h    132x25 text
  4077.  10Ah    132x43 text
  4078.  10Bh    132x50 text
  4079.  10Ch    132x60 text
  4080. ---VBE v1.2---
  4081.  10Dh    320x200x32K
  4082.  10Eh    320x200x64K
  4083.  10Fh    320x200x16M
  4084.  110h    640x480x32K
  4085.  111h    640x480x64K
  4086.  112h    640x480x16M
  4087.  113h    800x600x32K
  4088.  114h    800x600x64K
  4089.  115h    800x600x16M
  4090.  116h    1024x768x32K
  4091.  117h    1024x768x64K
  4092.  118h    1024x768x16M
  4093.  119h    1280x1024x32K
  4094.  11Ah    1280x1024x64K
  4095.  11Bh    1280x1024x16M
  4096. SeeAlso: #0009,#0070
  4097. Index:    video modes;VESA
  4098.  
  4099. (Table 0070)
  4100. Values for S3 OEM video mode:
  4101.  201h    640x480x256
  4102.  202h    800x600x16
  4103.  203h    800x600x256
  4104.  204h    1024x768x16
  4105.  205h    1024x768x256
  4106.  206h    1280x960x16
  4107.  207h    1152x864x256 (Diamond Stealth 64)
  4108.  208h    1280x1024x16
  4109.  20Ah    1152x864x64K (Diamond Stealth 64)
  4110.  211h    640x480x64K (Diamond Stealth 24)
  4111.  212h    640x480x16M (Diamond Stealth 24)
  4112.  301h    640x480x32K
  4113. Note:    these modes are only available on video cards using S3's VESA driver
  4114. SeeAlso: #0069
  4115. Index:    video modes;S3
  4116. --------V-104F03-----------------------------
  4117. INT 10 - VESA SuperVGA BIOS - GET CURRENT VIDEO MODE
  4118.     AX = 4F03h
  4119. Return: AL = 4Fh if function supported
  4120.     AH = status
  4121.         00h successful
  4122.         BX = video mode (see #0069,#0070)
  4123.         01h failed
  4124. SeeAlso: AH=0Fh,AX=4E04h,AX=4F02h
  4125. --------V-104F04-----------------------------
  4126. INT 10 - VESA SuperVGA BIOS - SAVE/RESTORE SuperVGA VIDEO STATE
  4127.     AX = 4F04h
  4128.     DL = subfunction
  4129.         00h get state buffer size
  4130.         Return: BX = number of 64-byte blocks needed
  4131.         01h save video states
  4132.         ES:BX -> buffer
  4133.         02h restore video states
  4134.         ES:BX -> buffer
  4135.     CX = states to save/restore (see #0071)
  4136. Return: AL = 4Fh if function supported
  4137.     AH = status
  4138.         00h successful
  4139.         01h failed
  4140.  
  4141. Bitfields for VESA SuperVGA states to save/restore:
  4142. Bit(s)    Description    (Table 0071)
  4143.  0    video hardware state
  4144.  1    video BIOS data state
  4145.  2    video DAC state
  4146.  3    SuperVGA state
  4147. --------V-104F05-----------------------------
  4148. INT 10 - VESA SuperVGA BIOS - CPU VIDEO MEMORY CONTROL
  4149.     AX = 4F05h
  4150.     BH = subfunction
  4151.         00h select video memory window
  4152.         DX = window address in video memory (in granularity units)
  4153.         01h get video memory window
  4154.         Return: DX = window address in video memory (in gran. units)
  4155.     BL = window number
  4156.         00h window A
  4157.         01h window B
  4158. Return: AL = 4Fh if function supported
  4159.     AH = status
  4160.         00h successful
  4161.         01h failed
  4162. SeeAlso: AX=4F01h,AX=4F06h,AX=4F07h,AX=7000h/BX=0004h
  4163. --------V-104F06-----------------------------
  4164. INT 10 - VESA SuperVGA BIOS v1.1+ - GET/SET LOGICAL SCAN LINE LENGTH (PIXELS)
  4165.     AX = 4F06h
  4166.     BL = function
  4167.         00h set scan line length
  4168.         CX = desired width in pixels
  4169.         01h get scan line length
  4170. Return: AL = 4Fh if function supported
  4171.     AH = status
  4172.         00h successful
  4173.         01h failed
  4174.     BX = bytes per scan line
  4175.     CX = number of pixels per scan line
  4176.     DX = maximum number of scan lines
  4177. Notes:    if the desired width is not achievable, the next larger width will be
  4178.       set
  4179.     the scan line may be wider than the visible area of the screen
  4180.     this function is valid in text modes, provided that pixel values are
  4181.       multiplied by the character cell width/height
  4182. SeeAlso: AX=4F01h,AX=4F05h,AX=4F06h/BL=02h,AX=4F06h/BL=03h,AX=4F07h
  4183. --------V-104F06BL02-------------------------
  4184. INT 10 - VESA SuperVGA BIOS v2.0+ - SET LOGICAL SCAN LINE LENGTH (BYTES)
  4185.     AX = 4F06h
  4186.     BL = 02h
  4187.     CX = desired scanline width in bytes
  4188. Return: AL = 4Fh if function supported
  4189.     AH = status
  4190.         00h successful
  4191.         01h failed
  4192.     BX = bytes per scan line
  4193.     CX = number of pixels per scan line
  4194.     DX = maximum number of scan lines
  4195. Notes:    if the desired width is not achievable, the next larger width will be
  4196.       set
  4197.     the scan line may be wider than the visible area of the screen
  4198.     this function is valid in text modes, provided that pixel values are
  4199.       multiplied by the character cell width/height
  4200. SeeAlso: AX=4F01h,AX=4F05h,AX=4F06h,AX=4F06h/BL=03h,AX=4F07h
  4201. --------V-104F06BL03-------------------------
  4202. INT 10 - VESA SuperVGA BIOS v2.0+ - GET MAXIMUM SCAN LINE LENGTH
  4203.     AX = 4F06h
  4204.     BL = 03h
  4205. Return: AL = 4Fh if function supported
  4206.     AH = status
  4207.         00h successful
  4208.         01h failed
  4209.     BX = maximum bytes per scan line
  4210.     CX = maximum number of pixels per scan line
  4211. Notes:    this function is valid in text modes, provided that pixel values are
  4212.       multiplied by the character cell width/height
  4213. SeeAlso: AX=4F01h,AX=4F05h,AX=4F06h,AX=4F06h/BL=02h,AX=4F07h
  4214. --------V-104F07-----------------------------
  4215. INT 10 - VESA SuperVGA BIOS v1.1+ - GET/SET DISPLAY START
  4216.     AX = 4F07h
  4217.     BL = function
  4218.         00h,80h set display start
  4219.         CX = leftmost displayed pixel in scan line
  4220.         DX = first displayed scan line
  4221.         01h get display start
  4222.         Return: BH = 00h
  4223.             CX = leftmost displayed pixel in scan line
  4224.             DX = first displayed scan line
  4225.     BH = 00h (reserved)
  4226. Return: AL = 4Fh if function supported
  4227.     AH = status
  4228.         00h successful
  4229.         01h failed
  4230. Notes:    this function is valid in text modes, provided that values are
  4231.       multiplied by the character cell width/height
  4232.     subfunction 80h waits until vertical retrace before changing the
  4233.       display start address (VBE v2.0+)
  4234. SeeAlso: AX=4F01h,AX=4F05h,AX=4F06h
  4235. --------V-104F08-----------------------------
  4236. INT 10 - VESA SuperVGA BIOS v1.2+ - GET/SET DAC PALETTE CONTROL
  4237.     AX = 4F08h
  4238.     BL = function
  4239.         00h set DAC palette width
  4240.         BH = desired number of bits per primary color
  4241.         01h get DAC palette width
  4242. Return: AL = 4Fh if function supported
  4243.     AH = status
  4244.         00h successful
  4245.         01h failed
  4246.     BH = current number of bits per primary (06h = standard VGA)
  4247. --------V-104F09-----------------------------
  4248. INT 10 - VESA SuperVGA BIOS v2.0+ - SET PALETTE ENTRIES
  4249.     AX = 4F09h
  4250.     BL = function
  4251.         00h set palette
  4252.         80h set palette during vertical retrace
  4253.     CX = number of entries to change
  4254.     DX = starting palette index
  4255.     ES:DI -> palette buffer (see #0072)
  4256. Return: AL = 4Fh if function supported
  4257.     AH = status
  4258.         00h successful
  4259.         01h failed
  4260.  
  4261. Format of VESA VBE palette entry:
  4262. Offset    Size    Description    (Table 0072)
  4263.  00h    BYTE    red
  4264.  01h    BYTE    green
  4265.  02h    BYTE    blue
  4266.  03h    BYTE    alpha or alignment byte
  4267. --------V-104F0A-----------------------------
  4268. INT 10 - VESA SuperVGA BIOS v2.0+ - GET PROTECTED-MODE CODE
  4269.     AX = 4F0Ah
  4270.     BX = function to be copied (see #0073)
  4271. Return: AL = 4Fh if function supported
  4272.     AH = status
  4273.         00h successful
  4274.         CX = number of bytes to copy
  4275.         ES:DI -> code for requested function
  4276.         01h failed
  4277.  
  4278. (Table 0073)
  4279. Values for VESA VBE protected-mode function identifiers:
  4280.  0001h    set bank (see AX=4F05h)
  4281.  0002h    set display start (see AX=4F07h)
  4282.  0003h    set palette (see AX=4F09h)
  4283. --------p-104F10BL00-------------------------
  4284. INT 10 - VESA VBE/PM (Power Management) v1.0+ - GET CAPABILITIES
  4285.     AX = 4F10h
  4286.     BL = 00h
  4287.     ES:DI = 0000h:0000h (reserved for future use)
  4288. Return: AL = 4Fh if function supported (installed)
  4289.     AH = call status
  4290.         00h successful
  4291.         else failed
  4292.     ---if successful---
  4293.     BL = VBE/PM version (bits 7-4: major, bits 3-0: minor)
  4294.     BH = supported states (see #0074)
  4295.     ES:DI unchanged
  4296. Index:    installation check;VESA VBE/Power Management
  4297. SeeAlso: AX=4F10h/BL=01h,AX=4F10h/BL=02h
  4298.  
  4299. Bitfields for VESA VBE/PM supported power states:
  4300. Bit(s)    Description    (Table 0074)
  4301.  0    standby
  4302.  1    suspend
  4303.  2    off
  4304.  3    reduced on
  4305. --------p-104F10BL01-------------------------
  4306. INT 10 - VESA VBE/PM (Power Management) v1.0+ - SET DISPLAY POWER STATE
  4307.     AX = 4F10h
  4308.     BL = 01h
  4309.     BH = new state (see #0075)
  4310. Return: AL = 4Fh if function supported
  4311.     AH = call status
  4312.         00h successful
  4313.         else failed
  4314. SeeAlso: AX=4F10h/BL=00h,AX=4F10h/BL=02h,AX=A00Ch
  4315.  
  4316. (Table 0075)
  4317. Values for VESA VBE/PM power state:
  4318.  00h    On
  4319.  01h    standby
  4320.  02h    suspend
  4321.  04h    Off
  4322.  08h    reduced On (for flat screens)
  4323. --------p-104F10BL02-------------------------
  4324. INT 10 - VESA VBE/PM (Power Management) v1.0+ - GET DISPLAY POWER STATE
  4325.     AX = 4F10h
  4326.     BL = 02h
  4327. Return: AL = 4Fh if function supported
  4328.     AH = call status
  4329.         00h successful
  4330.            BH = current power state (see #0075)
  4331.         else failed
  4332. SeeAlso: AX=4F10h/BL=00h,AX=4F10h/BL=01h
  4333. --------s-104F13BX0000-----------------------
  4334. INT 10 - VESA Audio Interface - VBE/AI INSTALLATION CHECK
  4335.     AX = 4F13h
  4336.     BX = 0000h
  4337. Return:    AL = 4Fh if function supported
  4338.         AH = status
  4339.         00h successful
  4340.             BX = version (0010h for 1.00 -- note nonstandard value!)
  4341.         01h failed
  4342. SeeAlso: AX=4F13h/BX=0001h,AX=4F13h/BX=0005h
  4343. --------s-104F13BX0001-----------------------
  4344. INT 10 - VESA Audio Interface - LOCATE DEVICE
  4345.     AX = 4F13h
  4346.     BX = 0001h
  4347.     CX = 0000h ???
  4348.     DX = type of device
  4349.         0001h Wave device
  4350.         0002h MIDI device
  4351.         0003h Volume device
  4352. Return:    AL = 4Fh if function supported
  4353.     AH = status
  4354.         00h successful
  4355.         CX = handle [returned 1 for DX=1 and 3, and 2 for DX=2]
  4356.         01h failed
  4357. SeeAlso: AX=4F13h/BX=0000h,AX=4F13h/BX=0002h
  4358. --------s-104F13BX0002-----------------------
  4359. INT 10 - VESA Audio Interface - QUERY DEVICE
  4360.     AX = 4F13h
  4361.     BX = 0002h
  4362.     CX = handle
  4363.     DX = query
  4364.         0001h return length of GeneralDeviceClass
  4365.         0002h return copy    of GeneralDeviceClass (see #0076)
  4366.         0003h return length of Volume Info Structure
  4367.         0004h return copy    of Volume Info Structure (see #0086)
  4368.         0005h return length of Volume Services Structure
  4369.         0006h return copy    of Volume Services Structure (see #0088)
  4370.         0007h-000Fh reserved
  4371.         0010h-FFFFh device-specific
  4372.     SI:DI -> buffer (functions 0002h,0004h,0006h)
  4373. Return:    AL = 4Fh if function supported
  4374.     AH = status
  4375.         00h successful
  4376.         SI:DI = length (functions 1,3,5)
  4377.         SI:DI buffer filled (functions 2,4,6)
  4378.         01h failed
  4379. Note:    functions 0003h to 0006h are only supported for the Volume device
  4380.  
  4381. Format of GeneralDeviceClass structure:
  4382. Offset    Size    Description    (Table 0076)
  4383.  00h    4 BYTEs    name of the structure ("GENI")
  4384.  04h    DWORD    structure length
  4385.  08h    WORD    type of device (1=Wave, 2=MIDI)
  4386.  0Ah    WORD    version of VESA driver support (0100h for 1.00)
  4387.  10h    var    for CX=handle for Wave device:
  4388.             Wave Info structure (see #0077)
  4389.             some bytes ???
  4390.         for CX=handle for MIDI device:
  4391.             MIDI Info Structure (see #0082)
  4392.             first 8 bytes of MIDI Service Structure ???
  4393. SeeAlso: #0086,#0088
  4394.  
  4395. Format of WAVE Info Structure:
  4396. Offset    Size    Description    (Table 0077)
  4397.  00h    4 BYTEs    name of the structure ("WAVI")
  4398.  04h    DWORD    structure length [0000007Eh]
  4399.  08h    DWORD    driver software version [00000003h]
  4400.  0Ch 32 BYTEs    vendor name, etc. (ASCIZ string)
  4401.  2Ch 32 BYTEs    vendor product name
  4402.  4Ch 32 BYTEs    vendor chip/hardware description
  4403.  6Ch    BYTE    installed board number
  4404.  6Dh    3 BYTEs    unused data
  4405.  70h    DWORD    feature bits (see #0078)
  4406.  74h    WORD    user determined preference field
  4407.  76h    WORD    memory required for driver use [0200h]
  4408.  78h    WORD    number of timer tick callbacks per second [0000h]
  4409.  7Ah    WORD    channels: 1 = mono, 2 = stereo
  4410.         stereo is assumed to be interleaved data
  4411.  7Ch    WORD    bitfield of max sample sizes (see #0079)
  4412. SeeAlso: #0082
  4413.  
  4414. Bitfields for Wave feature bits:
  4415. Bit(s)    Description    (Table 0078)
  4416.  0    8000hz Mono Playback
  4417.  1    8000hz Mono Record
  4418.  2    8000hz Stereo Record
  4419.  3    8000hz Stereo Playback
  4420.  4    8000hz Full Duplex Play/Record
  4421.  5    11025hz Mono Playback
  4422.  6    11025hz Mono Record
  4423.  7    11025hz Stereo Record
  4424.  8    11025hz Stereo Playback
  4425.  9    11025hz Full Duplex Play/Record
  4426.  10    22050hz Mono Playback
  4427.  11    22050hz Mono Record
  4428.  12    22050hz Stereo Record
  4429.  13    22050hz Stereo Playback
  4430.  14    22050hz Full Duplex Play/Record
  4431.  15    44100hz Mono Playback
  4432.  16    44100hz Mono Record
  4433.  17    44100hz Stereo Record
  4434.  18    44100hz Stereo Playback
  4435.  19    44100hz Full Duplex Play/Record
  4436.  20-26    reserved (0)
  4437.  27    driver must pre-handle the data
  4438.  28    Variable Sample mono   playback
  4439.  29    Variable Sample stereo playback
  4440.  30    Variable Sample mono   record
  4441.  31    Variable Sample stereo record
  4442.  
  4443. (Table 0079)
  4444. Values for Sample data size:
  4445.  01h    8bit play
  4446.  02h    16bit play
  4447.  10h    8bit record
  4448.  20h    16bit record
  4449.  
  4450. Format of WAVE Audio Services structure:
  4451. Offset    Size    Description    (Table 0080)
  4452.  00h    4 BYTEs    name of the structure
  4453.  04h    DWORD    structure length
  4454.  08h 16 BYTEs    for future expansion
  4455. ---entry points (details???)---
  4456.  18h    DWORD    DeviceCheck
  4457.         11h compression (see also #0081)
  4458.         12h driver state
  4459.         13h get current pos
  4460.         14h sample rate          
  4461.         15h set preference
  4462.         16h get DMA,IRQ
  4463.         17h get IO address
  4464.         18h get mem address
  4465.         19h get mem free
  4466.         1Ah full duplex
  4467.         1Bh get block size
  4468.         1Ch get PCM format
  4469.         1Dh enable PCM format
  4470.         80h-.. vendors can add DevChks above 0x80
  4471.  1Ch    DWORD    PCMInfo
  4472.  20h    DWORD    PlayBlock
  4473.  24h    DWORD    PlayCont
  4474.  28h    DWORD    RecordBlock
  4475.  2Ch    DWORD    RecordCont
  4476.  30h    DWORD    PauseIO
  4477.  34h    DWORD    ResumeIO
  4478.  38h    DWORD    StopIO
  4479.  3Ch    DWORD    WavePrepare
  4480.  40h    DWORD    WaveRegister
  4481.  44h    DWORD    GetLastError
  4482.         01h unsupported feature/function
  4483.         02h bad sample rate
  4484.         03h bad block length
  4485.         04h bad block address
  4486.         05h app. missed an IRQ
  4487.         06h don't understand the PCM size/format
  4488.         80h-.. vendors specific errors
  4489.  48h    DWORD    TimerTick
  4490.  4Ch    DWORD    ApplPSyncCB: CallBack: play filled in by the app
  4491.  50h    DWORD    ApplRSyncCB: CallBack: rec filled in by the app
  4492. SeeAlso: #0084,#0088
  4493.  
  4494. (Table 0081)
  4495. Values for type of compression:
  4496.  01h    IMA play
  4497.  02h    ALAW play
  4498.  03h    ULAW play
  4499.  11h    IMA record
  4500.  12h    ALAW record 
  4501.  13h    ULAW record
  4502.  
  4503. Format of MIDI Info Structure:
  4504. Offset    Size    Description    (Table 0082)
  4505.  00h    4 BYTEs    name of the structure ("MIDI")
  4506.  04h    DWORD    structure length
  4507.  08h    DWORD    driver software version [00000003h]
  4508.  0Ch 32 BYTEs    vendor name, etc. (ASCIZ string)
  4509.  2Ch 32 BYTEs    vendor product name
  4510.  4Ch 32 BYTEs    vendor chip/hardware description
  4511.  6Ch    BYTE    installed board number
  4512.  6Dh    3 BYTEs    unused data
  4513.  70h 14 BYTEs    the patch library file name [OPL2.BNK 00..]
  4514.  7Eh    DWORD    feature bits (see #0083)
  4515.  80h    WORD    user determined preference field
  4516.  82h    WORD    memory required for driver use
  4517.  84h    WORD    # of timer tick callbacks per second
  4518.  86h    WORD    max # of tones (voices, partials)
  4519. SeeAlso: #0076,#0084,#0086
  4520.  
  4521. Bitfields for MIDI feature bits:
  4522. Bit(s)    Description    (Table 0083)
  4523.  0-3    reserved for GM extensions
  4524.  4    Transmitter/Receiver only
  4525.  5    Patches preloaded
  4526.  6    MIDI receive has time stamp
  4527.  8    MIDI interrupt driven input supported
  4528.  9    MIDI polled input supported
  4529.  10    MIDI remote patches supported
  4530.  
  4531. Format of MIDI Service structure:
  4532. Offset    Size    Description    (Table 0084)
  4533.  00h    4 BYTEs    name of the structure ("MIDS")
  4534.  04h    DWORD    structure length
  4535.  08h 16 WORDs    patches loaded table bit field
  4536.  28h 16 BYTEs    for future expansion
  4537. ---entry points (details???)---
  4538.  38h    DWORD    device check
  4539.         11h return available tones
  4540.         12h return TRUE/FALSE if patch is understood
  4541.         13h set preference
  4542.         14h allow/disallow voice stealing
  4543.         15h get FIFO sizes
  4544.         16h get DMA,IRQ
  4545.         17h get IO address
  4546.         18h get mem address
  4547.         19h get mem free
  4548.         80h-.. vendors can add DevChks above 0x80
  4549.  3Ch    DWORD    global reset
  4550.  40h    DWORD    MIDI msg
  4551.  44h    DWORD    poll MIDI
  4552.  48h    DWORD    preload patch
  4553.  4Ch    DWORD    unload patch
  4554.  50h    DWORD    timer tick
  4555.  54h    DWORD    get last error
  4556.         01h unsupported feature/function
  4557.         02h unknown patch type (see #0085)
  4558.         03h all tones are used
  4559.         04h messages are out of sync
  4560.         05h an incoming patch was incomplete
  4561.         06h an incoming patch couldn't be stored
  4562.         07h had to drop an incoming byte
  4563.         08h driver is failing a patch download
  4564.         80h-.. vendors specific errors
  4565.  58h    DWORD    Patch Block free callback
  4566.  5Ch    DWORD    MIDI byte avail. callback
  4567. SeeAlso: #0080,#0088
  4568.  
  4569. (Table 0085)
  4570. Values for MIDI Registered Patch Types:
  4571.  10h    OPL2
  4572.  11h    OPL3
  4573.  
  4574. Format of Volume Info Structure:
  4575. Offset    Size    Description    (Table 0086)
  4576.  00h  4    BYTEs    name of the structure ("VOLI")
  4577.  04h    DWORD    structure length (00000092h)
  4578.  08h    DWORD    driver software version [00000001h]
  4579.  0Ch 32 BYTEs    vendor name, etc. (ASCIZ string)
  4580.  2Ch 32 BYTEs    vendor product name
  4581.  4Ch 32 BYTEs    vendor chip/hardware description
  4582.  6Ch    BYTE    installed board number (0 for 1st/only board)
  4583.  6Dh  3    BYTEs    unused data (0)
  4584.  70h 24 BYTEs    text name of the mixer channel
  4585.  88h    DWORD    features bits (see #0087)
  4586.  8Ch    WORD    minimum volume setting
  4587.  8Eh    WORD    maximum volume setting
  4588.  90h    WORD    attenuation/gain crossover
  4589. SeeAlso: #0076,#0088
  4590.  
  4591. Bitfields for Volume feature bits:
  4592. Bit(s)    Description    (Table 0087)
  4593.  0    Stereo Volume control available
  4594.  2    Low Pass Filter is available
  4595.  3    High Pass Filter is available
  4596.  4    Parametric Tone Control is available
  4597.  5    selectable output paths
  4598.  8    Azimuth Field positioning supported
  4599.  9    Phi Field positioning supported
  4600.  10-30    unused???
  4601.  31    Master Volume device
  4602.  
  4603. Format of Volume Services Structure:
  4604. Offset    Size    Description    (Table 0088)
  4605.  00h    4 BYTEs    name of the structure ("VOLS")
  4606.  04h    DWORD    structure length (00000038h)
  4607.  08h 16 BYTEs    16 bytes for future expansion (0)
  4608. ---entry points (details???)---
  4609.  18h    DWORD    device check
  4610.         0011h filter range
  4611.         0012h filter setting
  4612.         0013h filter current
  4613.         0014h tone range
  4614.         0015h tone setting
  4615.         0016h tone current
  4616.         0017h path
  4617.         0018h get IO address
  4618.         0080h-.. vendors can add DevChks above 0x80
  4619.  1Ch    DWORD    set vol to an absolute setting
  4620.         01h User master volume setting
  4621.         02h application master volume setting
  4622.  20h    DWORD    set 3D volume
  4623.  24h    DWORD    tone control
  4624.  28h    DWORD    filter control
  4625.  2Ch    DWORD    output path
  4626.  30h    DWORD    reset channel
  4627.  34h    DWORD    get last error
  4628.         01h unsupported feature/function
  4629.         02h out of range parameter value
  4630.         80h+ vendor-specific errors
  4631. SeeAlso: #0080,#0084
  4632. --------s-104F13BX0003-----------------------
  4633. INT 10 - VESA Audio Interface - OPEN DEVICE
  4634.     AX = 4F13h
  4635.     BX = 0003h
  4636.     CX = handle
  4637.     DX = API set (16/32-bit)
  4638.     SI = segment ???
  4639. Return:    AL = 4Fh if function supported
  4640.     AH = status
  4641.         00h successful
  4642.         SI:CX -> memory ???
  4643.         01h failed
  4644. SeeAlso: AX=4F13h/BX=0000h,AX=4F13h/BX=0002h,AX=4F13h/BX=0004h
  4645. --------s-104F13BX0004-----------------------
  4646. INT 10 - VESA Audio Interface - CLOSE DEVICE
  4647.     AX = 4F13h
  4648.     BX = 0004h
  4649.     CX = handle
  4650. Return:    AL = 4Fh if function supported
  4651.     AH = status
  4652.         00h successful
  4653.         01h failed
  4654. SeeAlso: AX=4F13h/BX=0000h,AX=4F13h/BX=0003h,AX=4F13h/BX=0005h
  4655. --------s-104F13BX0005-----------------------
  4656. INT 10 - VESA Audio Interface - UNINSTALL DRIVER
  4657.     AX = 4F13h
  4658.     BX = 0005h
  4659. Return:    AL = 4Fh if function supported
  4660.     AH = status
  4661.         00h successful
  4662.         01h failed
  4663. SeeAlso: AX=4F13h/BX=0000h,AX=4F13h/BX=0006h
  4664. --------s-104F13BX0006-----------------------
  4665. INT 10 - VESA Audio Interface - DRIVER CHAIN/UNCHAIN
  4666.     AX = 4F13h
  4667.     BX = 0006h
  4668. Return:    AL = 4Fh if function supported
  4669.     AH = status
  4670.         00h successful
  4671.         01h failed
  4672. SeeAlso: AX=4F13h/BX=0000h,AX=4F13h/BX=0005h
  4673. ----------104F4D-----------------------------
  4674. INT 10 - VESA - VIDEO CURSOR INTERFACE REQUEST
  4675.     AX = 4F4Dh
  4676.     BX = number of bytes available for VCI use
  4677.     DS:0000h -> buffer for VCI
  4678.     ES:DI -> VCI driver callback function
  4679. Return: AL = 4Fh if supported
  4680.         AH = status
  4681.         00h successful
  4682.             BX = number of bytes used by VCI
  4683.             ES:DI -> VCI request handler
  4684.         01h failed
  4685. Desc:    allow the VESA BIOS Extensions to cooperate with a pointing-device
  4686.       (typically mouse) driver
  4687. --------V-104FFF-----------------------------
  4688. INT 10 - VESA SuperVGA BIOS - Everex - TURN VESA ON/OFF
  4689.     AX = 4FFFh
  4690.     DL = new state (00h off, 01h on)
  4691. Return: AX = 0000h if successful
  4692. --------V-104FFF-----------------------------
  4693. INT 10 - Diamond Stealth 24 - SET/RESET DUAL DISPLAY MODE
  4694.     AX = 4FFFh
  4695.     BX = dual display mode
  4696.         00h reset
  4697.         01h set dual display, 32KB VGA test
  4698.         02h set dual display, 64KB VGA test
  4699. Return: AX = 4F00h if successful
  4700.         BX = number of scanlines off screen for test mode
  4701. --------U-1050-------------------------------
  4702. INT 10 - SCROLOCK.COM - INSTALLATION CHECK
  4703.     AH = 50h
  4704. Return: BX = 1954h if installed
  4705.         AL = 00h if inactive, nonzero if active
  4706. Program: SCROLOCK is a utility supplied with System Enhancement Associates' ARC
  4707. SeeAlso: AH=51h
  4708. --------J-105000-----------------------------
  4709. INT 10 - VIDEO - AX PC - SET SCREEN COUNTRY CODE
  4710.     AX = 5000h
  4711.     BX = country code
  4712.         0001h USA (English), 0051h Japan
  4713. Return: AL = status
  4714.         00h successful
  4715.         01h bad country code
  4716.         02h other error
  4717. SeeAlso: AX=5001h,INT 16/AX=5000h
  4718. --------J-105001-----------------------------
  4719. INT 10 - VIDEO - AX PC - GET SCREEN COUNTRY CODE
  4720.     AX = 5001h
  4721. Return: AL = status
  4722.         00h successful
  4723.         BX = country code
  4724.         02h error
  4725. SeeAlso: AH=00h,AX=5000h,INT 16/AX=5001h,INT 21/AH=38h
  4726. --------V-105049-----------------------------
  4727. INT 10 - VIDEO - SCREENR v1.55+ - API
  4728.     AX = 5049h ('PI')
  4729.     BX = function
  4730.         0000h installation check
  4731.         0001h lock mode
  4732.         0002h unlock mode
  4733.         0003h lock palette
  4734.         0004h unlock palette
  4735. Return: AX = 0000h if installed
  4736.         BX = TSR version (BH=major,BL=minor)
  4737.         CL = mode locking status
  4738.         00h mode not locked
  4739.         01h mode locked: INT 10/AH=00h disabled
  4740.         CH = palette locking status
  4741.         00h palette not locked
  4742.         01h palette locked, the following functions are disabled:
  4743.             AX=1000h, AX=1001h, AX=1002h, AX=1010h, AX=1012h
  4744. Program: SCREENR is a TSR supplied with Patrick Ibbetson's SCREEN display
  4745.       utility.
  4746. Index:    installation check;SCREENR
  4747. --------U-1051-------------------------------
  4748. INT 10 - SCROLOCK.COM - ENABLE/DISABLE
  4749.     AH = 51h
  4750.     AL = state
  4751.         00h disable
  4752.         nonzero enable
  4753. Program: SCROLOCK is a utility supplied with System Enhancement Associates' ARC
  4754. SeeAlso: AH=50h"SCROLOCK"
  4755. --------J-105100-----------------------------
  4756. INT 10 - VIDEO - AX PC - REGISTER EXTERNAL CHARACTER
  4757.     AX = 5100h
  4758.     BH = character width in bits (10h)
  4759.     BL = character height (10h)
  4760.     DX = character code (DH = F0h-F3h, DL=40h-7Eh,80h-FCh)
  4761.     ES:BP -> character bitmap
  4762. Return: AL = status (00h successful, 01h failed)
  4763. SeeAlso: AX=5101h,INT 1F
  4764. --------J-105101-----------------------------
  4765. INT 10 - VIDEO - AX PC - READ CHARACTER
  4766.     AX = 5101h
  4767.     BH = character width in bits
  4768.     BL = character height
  4769.     DX = character code (DH = 00h if 8-bit character)
  4770.     ES:BP -> buffer for character bitmap
  4771. Return: AL = status (00h successful, 01h failed)
  4772. SeeAlso: AH=09h,AX=5100h
  4773. --------J-105200-----------------------------
  4774. INT 10 - VIDEO - AX PC - SET VIRTUAL TEXT RAM BUFFER
  4775.     AX = 5200h
  4776.     BX = segment of buffer
  4777. SeeAlso: AX=5201h
  4778. --------J-105201-----------------------------
  4779. INT 10 - VIDEO - AX PC - GET VIRTUAL TEXT RAM BUFFER
  4780.     AX = 5201h
  4781. Return: BX = segment of buffer or 0000h if failed
  4782. SeeAlso: AX=8300h,AH=FEh
  4783. ----------1053-------------------------------
  4784. INT 10 - Show Partner F/X v3.6 - START PRESENTATION
  4785.     AH = 53h
  4786.     DS:DX -> ASCIZ name of presentation file (no path, extension forced to
  4787.         .PR2)
  4788. Return: ???
  4789. SeeAlso: AH=55h
  4790. ----------1055-------------------------------
  4791. INT 10 - Show Partner F/X v3.6 - UNINSTALL
  4792.     AH = 55h
  4793. Return: FXSHOW.EXE removed from memory
  4794. SeeAlso: AH=53h
  4795. --------V-105555-----------------------------
  4796. INT 10 - VIDEO - ATI EGA/VGA Wonder Super Switch - INSTALLATION CHECK
  4797.     AX = 5555h
  4798. Return: AX = AAAAh    if installed
  4799.     BX:CX -> ??? routine in SMS.COM resident portion
  4800.           -> data area (see #0089) in VCONFIG
  4801. Program: Super Switch (SMS.COM) is a video mode switch program supplied with
  4802.       ATI EGA Wonder. It also maps video mode 08h to 27h or 23h.
  4803. SeeAlso: INT 10/AH=00h,INT 14/AX=AA01h,INT 2F/AX=6400h
  4804. Index:    screen saver;ATI Wonder SMS.COM
  4805.  
  4806. Format of ATI Super Switch data area:
  4807. Offset    Size    Description    (Table 0089)
  4808.  00h    DWORD    original INT 09 vector
  4809.  04h    DWORD    original INT 10 vector
  4810.  08h    DWORD    original INT 1C vector
  4811.  0Ch    WORD    screen saver state, 0=off, 1=on
  4812.  0Eh    WORD    blanking interval in clock ticks
  4813. --------V-105F00-----------------------------
  4814. INT 10 - Chips & Technologies Extended BIOS - RETURN 82C45X CHIP INFORMATION
  4815.     AX = 5F00h
  4816. Return: AL = 5Fh function supported
  4817.         BL = chip type (see #0090)
  4818.         BH = video memory size (00h 256KB, 01h 512KB, 02h 1MB)
  4819.         CX = miscellaneous information (see #0091)
  4820. SeeAlso: AX=5F01h
  4821.  
  4822. Bitfields for Chips&Technologies chip type:
  4823. Bit(s)    Description    (Table 0090)
  4824.  7-4    chip type
  4825.     0000: 82c451
  4826.     0001: 82c452
  4827.     0010: 82c455
  4828.     0011: 82c453
  4829.     0101: 82c456
  4830.     0110: 82c457
  4831.     0111: F65520
  4832.     1000: F65530
  4833.  3-0    revision number
  4834.  
  4835. Bitfields for Chips&Technologies miscellaneous information:
  4836. Bit(s)    Description    (Table 0091)
  4837.  0    DAC size (0=6-bit, 1=8-bit)
  4838.  1    system type (0=PC/AT, 1=PS/2)
  4839.  2    extended text modes supported by BIOS
  4840.  3    reserved
  4841.  4    extended graphics modes supported by BIOS
  4842.  5    reserved
  4843.  6    BIOS supports graphics cursor
  4844.  7    BIOS supports anti-aliased font
  4845.  8    BIOS supports pre-programmed emulation
  4846.  9    BIOS supports auto emulation
  4847.  10    BIOS supports variable mode set at cold boot
  4848.  11    BIOS supports variable mode set on warm boot
  4849.  12    BIOS supports emulation mode set at cold boot
  4850.  13    BIOS supports emulation mode set on warm boot
  4851.  14-15    reserved
  4852. --------V-105F00-----------------------------
  4853. INT 10 - VIDEO - Realtek RTVGA - RETURN CHIP VERSION
  4854.     AX = 5F00h
  4855. Return: AH = 00h, if successful
  4856.     AL = chip version (the same value that VTEST.EXE reads)
  4857.         00h RTG3103???
  4858.         01h RTG31030/RTG3105
  4859.         02h RTG3106???
  4860.         3Fh non-Realtek chip
  4861. BUG:    in v3.C10, AX=5F00h on return due to improper stack restoration code
  4862. SeeAlso: AX=5F01h"RTVGA"
  4863. --------V-105F01-----------------------------
  4864. INT 10 - Chips & Technologies Extended BIOS - SET PREPROGRAMMED EMULATION
  4865.     AX = 5F01h
  4866.     BL = emulation type (see #0092)
  4867. Return: AL = 5Fh if function supported
  4868.         AH = status
  4869.         00h unsuccessful
  4870.         01h successful
  4871. SeeAlso: AX=5F00h,AX=5F02h,AH=FFh"Oak"
  4872.  
  4873. (Table 0092)
  4874. Values for Chips&Technologies emulation type:
  4875.  00h,01h reserved
  4876.  02h    CGA
  4877.  03h    MDA
  4878.  04h    Hercules
  4879.  05h    EGA
  4880.  06h    VGA
  4881. --------V-105F01-----------------------------
  4882. INT 10 - VIDEO - Realtek RTVGA - WRITE RTVGA BIOS STRING TO DESTINATION
  4883.     AX = 5F01h
  4884.     ES:DI -> zero-filled buffer for BIOS ID string
  4885. Return: AH = 00h if successful
  4886.     ES:DI -> ASCII signature "REALTEK VGA BIOS Version 3C.10"
  4887. BUG:    in v3.C10, AX=5F01h on return due to improper stack restoration code
  4888. SeeAlso: AX=5F00h"RTVGA",AX=5F02h"RTVGA"
  4889. --------V-105F02-----------------------------
  4890. INT 10 - Chips & Technologies Extended BIOS - AUTO EMULATION CONTROL
  4891.     AX = 5F02h
  4892.     BL = new state of autmatic emulation (00h enabled, 01h disabled)
  4893. Return: AL = 5Fh if function supported
  4894.         AH = status
  4895.         00h unsuccessful
  4896.         01h successful
  4897. SeeAlso: AX=5F01h,AX=5F03h
  4898. --------V-105F02-----------------------------
  4899. INT 10 - VIDEO - Realtek RTVGA - RETURN RTVGA ON-BOARD MEMORY SIZE
  4900.     AX = 5F02h
  4901. Return: AH = 00h, if successful
  4902.     AL = on-board memory size
  4903.          (00h = 256K, 01h = 512K, 02h = 768K, 03h = 1024K)
  4904. BUG:    in v3.C10, AX=5F02h on return due to improper stack restoration code
  4905. SeeAlso: AX=5F01h"RTVGA",AX=5F03h"RTVGA"
  4906. --------V-105F03-----------------------------
  4907. INT 10 - VIDEO - Realtek RTVGA - SET ???
  4908.     AX = 5F03h
  4909.     BL = 0-3 (???)
  4910. Return: AH = 00h if successful
  4911. BUG:    in v3.C10, AX=5F03h on return due to improper stack restoration code
  4912. SeeAlso: AX=5F02h"RTVGA"
  4913. --------V-105F03-----------------------------
  4914. INT 10 - Chips & Technologies Extended BIOS - SET POWER-ON VIDEO CONDITIONS
  4915.     AX = 5F03h
  4916.     BL = configuration
  4917.         00h power-up display mode
  4918.         CL = display mode
  4919.         CH = mode (see #0093)
  4920.         01h power-up emulation mode
  4921.         CL = emulation mode (see #0092)
  4922.         CH = permanence (00h reset after next boot, 01h until changed)
  4923. Return: AL = 5Fh if function supported
  4924.         AH = status
  4925.         00h unsuccessful
  4926.         01h successful
  4927. SeeAlso: AX=5F02h,AX=5F03h/BL=01h,AX=5F90h
  4928.  
  4929. Bitfields for Chips&Technologies display mode:
  4930. Bit(s)    Description    (Table 0093)
  4931.  1-0    scanlines (00 = 200, 01 = 350, 10 = 400)
  4932.  7    persistence (0 reset on next boot, 1 until changed)
  4933. --------V-105F03BL01-------------------------
  4934. INT 10 - Chips & Technologies Extended BIOS - SET POWER-ON EMULATION MODE
  4935.     AX = 5F03h
  4936.     BL = 01h
  4937.     CL = emulation mode
  4938.     CH = mode
  4939.         bit 7 persistence (0 reset on next boot, 1 until changed)
  4940. Return: AL = 5Fh if function supported
  4941.         AH = status
  4942.         00h unsuccessful
  4943.         01h successful
  4944. SeeAlso: AX=5F02h,AX=5F03h/BL=00h,AX=5F90h
  4945. --------V-105F-------------------------------
  4946. INT 10 - Chips & Technologies Extended BIOS - SAVE/RESTORE SUPERVGA STATE
  4947.     AH = 5Fh
  4948.     AL = subfunction
  4949.         90h determine size of save buffer
  4950.         91h save state
  4951.         92h restore state
  4952.     CX = state mask (see #0094)
  4953.     ES:BX -> save buffer (subfunctions 91h,92h only)
  4954. Return: AL = 5Fh if function supported
  4955.         ---subfunction 90h---
  4956.         BX = number of 64-byte blocks required
  4957.         ---subfunction 92h---
  4958.         buffer at ES:BX filled
  4959. SeeAlso: AH=1Ch,AX=5F03h
  4960.  
  4961. Bitfields for Chips&Technologies state mask:
  4962. Bit(s)    Description    (Table 0094)
  4963.  0    video hardware
  4964.  1    BIOS data state
  4965.  2    DAC state
  4966.  15    type (0 all state info, 1 SuperVGA state only)
  4967. --------V-1060------------------------------------
  4968. INT 10 - HUNTER 16 - SET GRAPHICS FONT
  4969.     AH = 60h
  4970.     AL = new font
  4971.         bit 7    output characters in reverse video
  4972.         bits 0-6 font number (see #0108 at AH=77h)
  4973. Return: BH = cell width            
  4974.     BL = cell height
  4975. Desc:    select the font to use for output in mode 6; this can be used to mix
  4976.       fonts on the screen
  4977. Note:    the Husky Hunter 16 is an 8088-based ruggedized laptop.     Other family
  4978.       members are the Husky Hunter, Husky Hunter 16/80, and Husky Hawk.
  4979. SeeAlso: AH=04h"HUNTER",AH=73h"HUNTER",AH=77h"HUNTER"
  4980. --------V-1061------------------------------------
  4981. INT 10 - HUNTER 16 - MOVE CURSOR TO GRAPHICS CO-ORDINATES
  4982.     AH = 61h
  4983.     CX = column
  4984.     DX = row
  4985. Note:    this function is only valid in graphics modes
  4986. SeeAlso: AH=62h
  4987. --------V-1062------------------------------------
  4988. INT 10 - HUNTER 16 - GET CURSOR POSITION IN GRAPHICS CO-ORDINATES
  4989.     AH = 62h
  4990. Return: CX = column
  4991.     DX = row
  4992. Note:    this function is only valid in graphics modes
  4993. SeeAlso: AH=61h
  4994. --------V-1063------------------------------------
  4995. INT 10 - HUNTER 16 - SET CONTRAST
  4996.     AH = 63h
  4997.     AL = contrast (0..127)
  4998. Desc:    set the LCD screen contrast to improve visibility
  4999. SeeAlso: AH=64h,AH=75h
  5000. --------V-1064------------------------------------
  5001. INT 10 - HUNTER 16 - SET BACKLIGHT LEVEL
  5002.     AH = 64h
  5003.     AL = level (0..15)
  5004. Desc:    set the LCD backlight level to improve visibility in bad lighting
  5005. SeeAlso: AH=63h,AH=65h,AH=74h,AH=78h"HUNTER",INT 15/AH=74h
  5006. --------V-106500----------------------------------
  5007. INT 10 - HUNTER 16 - GET BACKLIGHT TIMEOUT
  5008.     AX = 6500h
  5009. Return: BX = timeout in seconds (0-300)
  5010. Desc:    returns the time after which the backlight will turn off
  5011. SeeAlso: AH=63h,AH=64h,AX=6501h,INT 15/AH=74h
  5012. --------V-106501----------------------------------
  5013. INT 10 - HUNTER 16 - SET BACKLIGHT TIMEOUT
  5014.     AX = 6501h
  5015.     BX = timeout in seconds (0-300)
  5016. Desc:    set the idle time after which the backlight will turn off
  5017. SeeAlso: AH=64h,AX=6500h
  5018. --------V-1066------------------------------------
  5019. INT 10 - HUNTER 16 - SPLIT DISPLAY
  5020.     AH = 66h
  5021.     AL = control bits (see #0095)
  5022.     BH = top row of lower section of LCD (0..7)
  5023.     BL = top row of lower section of the virtual screen (0..24)
  5024. Desc:    split the LCD screen horizontally into two parts; each part may be 
  5025.       individually scrollable or fixed.
  5026. Note:    the Hunter 16 has a 240x64 LCD display which serves as a window into
  5027.       a 640x200 virtual screen
  5028.  
  5029. Bitfields for HUNTER 16 control bits:
  5030. Bit(s)    Description    (Table 0095)
  5031.  0-1    01: no split, 10: allow split
  5032.  2    allow scrolling the upper part
  5033.  3    allow scrolling the lower part 
  5034. --------V-106A00BX0000-----------------------
  5035. INT 10 - Direct Graphics Interface Standard (DGIS) - INQUIRE AVAILABLE DEVICES
  5036.     AX = 6A00h
  5037.     BX = 0000h
  5038.     CX = 0000h
  5039.     DX = buffer length (may be 0)
  5040.     ES:DI -> buffer
  5041. Return: BX = number of bytes stored in buffer
  5042.     CX = bytes required for all descriptions (0 if no DGIS)
  5043. Note:    buffer contains descriptions and addresses of DGIS-compatible
  5044.       display(s) and printer(s)
  5045. SeeAlso: AX=6A02h
  5046. --------V-106A01CX0000-----------------------
  5047. INT 10 - Direct Graphics Interface Standard (DGIS) - REDIRECT CHARACTER OUTPUT
  5048.     AX = 6A01h
  5049.     CX = 0000h
  5050.     ES:DI = address of device to send INT 10 output to
  5051. Return: CX = 0000h  output could not be redirected
  5052.          else INT 10h output now routed to requested display
  5053. SeeAlso: AX=6A02h
  5054. --------V-106A02-----------------------------
  5055. INT 10 - DGIS - INQUIRE INT 10 OUTPUT DEVICE
  5056.     AX = 6A02h
  5057.     ES:DI = 0000h:0000h
  5058. Return: ES:DI = 0000h:0000h  if current display is non-DGIS
  5059.         else address of the current DGIS INT 10 display
  5060. SeeAlso: AX=6A00h,AX=6A01h
  5061. --------V-106E00-----------------------------
  5062. INT 10 - Paradise VGA internal - GET ???
  5063.     AX = 6E00h
  5064. Return: BX = 5744h ('WD') if supported
  5065.         DH:AH:AL = last three ASCII digits of ROM serial number
  5066.         CL = ???
  5067.         CH = ???
  5068. SeeAlso: AX=6E04h,AX=6E05h
  5069. --------V-106E04-----------------------------
  5070. INT 10 - Paradise VGA internal - GET SCREEN SIZE AND ???
  5071.     AX = 6E04h
  5072. Return: BX = screen width (columns)
  5073.     CX = screen height (lines)
  5074.     AH = ??? (05h or FFh)
  5075.     AL = ??? (04h or video mode)
  5076. SeeAlso: AX=6E00h,AX=6E05h
  5077. --------V-106E05-----------------------------
  5078. INT 10 - Paradise VGA internal - SET MODE
  5079.     AX = 6E05h
  5080.     BL = mode
  5081. Note:    like AH=00h, AL=BL.
  5082. SeeAlso: AH=00h,AX=6E00h,AX=6E04h,AX=6F05h
  5083. --------V-106F00-----------------------------
  5084. INT 10 - HP Vectra EX-BIOS - INSTALLATION CHECK
  5085.     AX = 6F00h
  5086.     BX <> 4850h (usually set to 0000h for simplicity)
  5087. Return: BX = 4850h ('HP') indicates HP Extended BIOS video functions present
  5088.     AX destroyed
  5089. SeeAlso: AX=6F00h"Video7",AX=6F01h,AX=6F02h,AX=6F03h,AX=6F04h,AX=6F05h
  5090. SeeAlso: INT 14/AX=6F00h,INT 16/AX=6F00h,INT 17/AX=6F00h,INT 33/AX=6F00h
  5091. --------V-106F00BX0000-----------------------
  5092. INT 10 - VIDEO - Video7 VGA,VEGA VGA - INSTALLATION CHECK
  5093.     AX = 6F00h
  5094.     BX = 0000h
  5095. Return: BX = 5637h ('V7') indicates Video7 VGA/VEGA VGA extensions are present
  5096. SeeAlso: AX=6F01h,AX=6F02h,AX=6F03h,AX=6F04h,AX=6F05h
  5097. --------V-106F01-----------------------------
  5098. INT 10 - VIDEO - Video7 VGA,VEGA VGA,HP EX-BIOS - GET MONITOR INFO
  5099.     AX = 6F01h
  5100. Return: AL = monitor type code (HP,VEGA VGA only) (see #0096)
  5101.     AH = status register information (see #0097)
  5102.     CL = current value of Extended Control register (HP Ext BIOS, and only
  5103.         if AL=41h) (see #0098)
  5104. Notes:    bits 0-3 are the same as the EGA/VGA status register bits 0-3
  5105.     supported by original HP Vectra AT and by ES/QS/RS series Vectras
  5106.  
  5107. (Table 0096)
  5108. Values for monitor type code (HP Extended BIOS):
  5109.  00h    non-HP card with ROM and possibly its own INT 10h driver
  5110.  41h    MultiMode video display adapter
  5111.  42h-44h reserved
  5112.  45h    industry standard monochrome display adapter
  5113.  46h    industry standard color display adapter
  5114.  51h    reserved
  5115.  
  5116. Bitfields for status register information:
  5117. Bit(s)    Description    (Table 0097)
  5118.  0    display enable
  5119.     0 = display enabled
  5120.     1 = vertical or horizontal retrace in progress
  5121.  1    light pen flip flop set
  5122.  2    light pen switch activated
  5123.  3    vertical sync
  5124.  4    monitor resolution
  5125.     0 = high resolution (>200 lines)
  5126.     1 = low resolution (<=200 lines)
  5127.  5    display type (0 = color, 1 = monochrome)
  5128.  6,7    diagnostic bits
  5129. Note:    bits 0-3 are the same as the EGA/VGA status register bits 0-3
  5130. --------V-106F02-----------------------------
  5131. INT 10 - HP Vectra EX-BIOS - SET MONITOR INFO
  5132.     AX = 6F02h
  5133.     BL = new value for extended control register (see #0098)
  5134. Return: AX,BL destroyed
  5135. Notes:    this function is only valid when an HP MultiMode Video Display Adapter
  5136.       is installed
  5137.     the Extended Control register is at I/O address 3DDh
  5138. SeeAlso: AX=6F01h,AX=6F03h
  5139.  
  5140. Bitfields for HP Vectra extended control register:
  5141. Bit(s)    Description    (Table 0098)
  5142.  0    screen resolution (0 = 200 lines, 1 = 400 lines)
  5143.  1    underline enable (if set, 'blue' of fg color = underline)
  5144.  2    font (0 = Standard-8, 1 = HP-Roman-8)
  5145.  3    memory disabled for CPU access
  5146.  4    allow access to full 32K memory instead of wrapping at 16K
  5147.  5    select second 16K page instead of first
  5148.  6,7    unused
  5149. --------V-106F03-----------------------------
  5150. INT 10 - HP Vectra EX-BIOS - MODIFY MONITOR INFO
  5151.     AX = 6F03h
  5152.     BH = exclude mask (set bits are not modified)
  5153.     BL = new values for bits indicated by BH (see #0098)
  5154. Return: AX destroyed
  5155. Notes:    this function is only valid when an HP MultiMode Video Display Adapter
  5156.       is installed
  5157.     supported by original HP Vectra AT and by ES/QS/RS series Vectras
  5158. SeeAlso: AX=6F01h,AX=6F02h
  5159. --------V-106F04-----------------------------
  5160. INT 10 - VIDEO - Video7 VGA,VEGA VGA,HP Vectra - GET MODE AND SCREEN RESOLUTION
  5161.     AX = 6F04h
  5162. Return: AL = current video mode (see #0099)
  5163.     BX = horizontal columns (text) or pixels (graphics)
  5164.     CX = vertical columns (text) or pixels (graphics)
  5165. SeeAlso: AX=6F05h
  5166. --------V-106F05-----------------------------
  5167. INT 10 - VIDEO - Video7 VGA,VEGA EXTENDED EGA/VGA,HP Vectra - SET VIDEO MODE
  5168.     AX = 6F05h
  5169.     BL = mode (see #0099)
  5170. Return: AX,BL destroyed
  5171. Notes:    also supported by the HP Vectra Extended BIOS on the original
  5172.       HP Vectra AT and by ES/QS/RS series Vectras
  5173.     on the HP Vectra, this function rather than AH=00h must be used to
  5174.       return to an IBM-standard mode after setting an HP-specified mode
  5175.       from 08h to 0Fh.
  5176. SeeAlso: AH=00h,AX=0070h,AX=007Eh,AX=6F04h
  5177.  
  5178. (Table 0099)
  5179. Values for Video7/VEGA video mode:
  5180.      text/ text pixel    pixel    colors disply scrn  system
  5181.      grph resol     box  resolution       pages  addr
  5182.  00h-13h = standard IBM modes (see #0009 at AH=00h)
  5183.  08h = T  80x27      .      .    mono      .    .  HP MultiMode Video
  5184.  09h = T  80x27      .      .      .      .    .  HP MultiMode Video
  5185.  0Ah = T  40x27      .      .    mono      .    .  HP MultiMode Video
  5186.  0Bh = T  40x27      .      .      .      .    .  HP MultiMode Video
  5187.  0Ch = reserved                       HP MultiMode Video
  5188.  0Dh = G    .      .    640x400      .      .    .  HP MultiMode Video
  5189.  0Eh = G    .      .    320x400      .      .    .  HP MultiMode Video
  5190.  0Fh = G    .      .    320x400      .      .    .  HP MultiMode Video
  5191.  40h = T  80x43     8x8      .      .      .    .  Video7/VEGA VGA
  5192.  41h = T 132x25     8x14      .      .      .    .  Video7/VEGA VGA
  5193.  42h = T 132x43     8x8      .      .      .    .  Video7/VEGA VGA
  5194.  43h = T  80x60     8x8      .      .      .    .  Video7/VEGA VGA
  5195.  44h = T 100x60     8x8      .      .      .    .  Video7/VEGA VGA
  5196.  45h = T 132x28     8x8      .      .      .    .  Video7/VEGA VGA
  5197.  60h = G    .      .    752x410     16      .    .  Video7 VGA, VEGA VGA
  5198.  61h = G    .      .    720x540     16      .    .  Video7 VGA, VEGA VGA
  5199.      = G    .      .    720x540     16      .    .  Northgate, Headland 1024i
  5200.  62h = G    .      .    800x600     16      .    .  Video7 VGA, VEGA Ext EGA
  5201.      = G    .      .    800x600     16      .    .  Headland 1024i
  5202.  63h = G    .      .   1024x768      2      .    .  Video7 VGA
  5203.  64h = G    .      .   1024x768      4      .    .  Video7 VGA
  5204.  65h = G    .      .   1024x768     16      .    .  Video7 VGA, VEGA Ext EGA
  5205.      = G    .      .   1024x768     16      .    .  Headland 1024i
  5206.  66h = G    .      .    640x400    256      .    .  Video7 VGA, VEGA Ext VGA
  5207.      = G    .      .    640x400    256      .    .  Northgate, Headland 1024i
  5208.  67h = G    .      .    640x480    256      .    .  Video7 VGA, VEGA Ext VGA
  5209.      = G    .      .    640x480    256      .    .  Headland 1024i
  5210.  68h = G    .      .    720x540    256      .    .  Video7 VGA, VEGA Ext VGA
  5211.      = G    .      .    720x540    256      .    .  Headland 1024i
  5212.  69h = G    .      .    800x600    256      .    .  Video7 VGA, VEGA Ext VGA
  5213.      = G    .      .    800x600    256      .    .  Headland 1024i
  5214.  70h = G    .      .    752x410     16gray      .    .  Video7 VGA, VEGA VGA
  5215.  71h = G    .      .    720x540     16gray      .    .  Video7 VGA, VEGA VGA
  5216.  72h = G    .      .    800x600     16gray      .    .  Video7 VGA
  5217.  73h = G    .      .   1024x768      2gray      .    .  Video7 VGA
  5218.  74h = G    .      .   1024x768      4gray      .    .  Video7 VGA
  5219.  75h = G    .      .   1024x768     16gray      .    .  Video7 VGA
  5220.  76h = G    .      .    640x400    256gray      .    .  Video7 VGA
  5221.  77h = G    .      .    640x480    256gray      .    .  Video7 VGA
  5222.  78h = G    .      .    720x540    256gray      .    .  Video7 VGA
  5223.  79h = G    .      .    800x600    256gray      .    .  (future)
  5224. SeeAlso: AH=00h,AX=0070h,AX=007Eh,AX=6F04h
  5225. Index:    video modes;Video 7|video modes;VEGA|video modes;Headland
  5226. --------V-106F06-----------------------------
  5227. INT 10 - VIDEO - Video7 VGA,VEGA VGA - SELECT AUTOSWITCH MODE
  5228.     AX = 6F06h
  5229.     BL = Autoswitch mode select
  5230.          00h select EGA/VGA-only modes
  5231.          01h select Autoswitched VGA/EGA/CGA/MGA modes
  5232.          02h select 'bootup' CGA/MGA modes
  5233.     BH = enable/disable (00h enable, 01h = disable selection)
  5234. --------V-106F07-----------------------------
  5235. INT 10 - VIDEO -  Video7 VGA,VEGA VGA - GET VIDEO MEMORY CONFIGURATION
  5236.     AX = 6F07h
  5237. Return: AL = 6Fh
  5238.     AH = memory configuration
  5239.         bits 0-6 = number of 256K blocks of video memory
  5240.         bit 7    = DRAM/VRAM (0: DRAM, 1: VRAM)
  5241.     BH = chip revision (SR8F) (S/C Chip in VEGA VGA)
  5242.     BL = chip revision (SR8E) (G/A Chip in VEGA VGA)
  5243.     CX = 0000h
  5244. SeeAlso: AH=12h/BL=10h
  5245. --------V-1070-------------------------------
  5246. INT 10 - VIDEO - TANDY 2000 only - GET ADDRESS OF VIDEO RAM
  5247.     AH = 70h
  5248. Return: AX:BX -> WORD containing green plane's offset
  5249.     AX:CX -> WORD containing green plane's segment
  5250.     AX:DX -> WORD containing segment of red (offset 0) and blue (offset
  5251.             4000) planes
  5252. SeeAlso: AH=71h
  5253. --------V-1070------------------------------------
  5254. INT 10 - HUNTER 16 - DRAW ELLIPSE/CIRCLE
  5255.     AH = 70h
  5256.     DS:BX -> control block (see #0100)
  5257. Desc:    Draws a circle or ellipse. Only valid in graphics modes.
  5258. Note:    the Husky Hunter 16 is an 8088-based ruggedized laptop.     Other family
  5259.       members are the Husky Hunter, Husky Hunter 16/80, and Husky Hawk.
  5260. SeeAlso: AH=71h"HUNTER"
  5261.  
  5262. Format of HUNTER 16 control block:
  5263. Offset    Size    Description    (Table 0100)
  5264.  00h    WORD    center X co-ordinate
  5265.  02h    BYTE    center Y co-ordinate
  5266.  03h    WORD    radius in pixels
  5267.  05h    BYTE    color (00h white, 01h black, FFh invert)
  5268.  06h    BYTE    aspect ratio x:x (1-127)
  5269.  07h    BYTE    aspect ratio y:y (1-127)
  5270. --------V-107000BX0000-----------------------
  5271. INT 10 - Everex Extended Video BIOS - RETURN EMULATION STATUS
  5272.     AX = 7000h
  5273.     BX = 0000h
  5274. Return: AL = 70h if Trident-based Everex card
  5275.     CL = monitor type (see #0101)
  5276.     CH = feature bits (see #0102)
  5277.     DX = video board info
  5278.         bits 4-15: board ID model (see #0103)
  5279.         bits 0-3:  board ID revision
  5280.     DI = BCD BIOS version number
  5281. SeeAlso: AX=5F01h,AH=FF"Oak"
  5282.  
  5283. (Table 0101)
  5284. Values for Everex monitor type:
  5285.  00h    mono
  5286.  01h    CGA
  5287.  02h    EGA
  5288.  03h    digital multifrequency
  5289.  04h    IBM PS/2
  5290.  05h    IBM 8514
  5291.  06h    SuperVGA
  5292.  07h    analog multifrequency
  5293.  08h    super multifrequency
  5294.  
  5295. Bitfields for Everex feature bits:
  5296. Bit(s)    Description    (Table 0102)
  5297.  7-6    memory size
  5298.     00 = 256K
  5299.     01 = 512K
  5300.     10 = 1024K
  5301.     11 = 2048K
  5302.  5    special oscillator present
  5303.  4    VGA protect enabled
  5304.  0    6845 emulation
  5305.  
  5306. (Table 0103)
  5307. Values for board model for Trident-based Everex cards:
  5308.  0236h    Ultragraphics II
  5309.  0620h    Vision VGA
  5310.  0673h    EVGA
  5311.  0678h    Viewpoint
  5312. --------V-107000BX0004-----------------------
  5313. INT 10 - Everex Extended Video BIOS - GET PAGING FUNCTION POINTER FOR CURR MODE
  5314.     AX = 7000h
  5315.     BX = 0004h
  5316. Return: ES:DI -> FAR paging function (call with DL = page to set)
  5317. Note:    the word preceding ES:DI is the length of the function in bytes, and
  5318.       the last byte of the function is a FAR return instruction.
  5319. SeeAlso: AX=4F05h,AX=7000h/BX=0000h,AX=7000h/BX=0005h
  5320. --------V-107000BX0005-----------------------
  5321. INT 10 - Everex Extended Video BIOS - GET SUPPORTED MODE INFO
  5322.     AX = 7000h
  5323.     BX = 0005h
  5324.     CL = maximum number of modes to get info for
  5325.     CH = mode type to get info for (see #0104)
  5326.     DL = monitor type to get info for
  5327.     ES:DI -> buffer for mode info (see #0105)
  5328. Return: CL = total number of modes fitting criteria
  5329.     CH = size of each info record
  5330. SeeAlso: AX=7000h/BX=0000h,AX=7000h/BX=0004h
  5331.  
  5332. (Table 0104)
  5333. Values for Everex mode type:
  5334.  00h    all modes
  5335.  01h    monochrome text modes
  5336.  02h    color text modes
  5337.  03h    four-color CGA graphics modes
  5338.  04h    two-color CGA graphics modes
  5339.  05h    16-color graphics modes
  5340.  06h    256-color graphics modes
  5341.  
  5342. Format of Everex mode information record:
  5343. Offset    Size    Description    (Table 0105)
  5344.  00h    BYTE    mode number (bit 7 set if extended mode)
  5345.  01h    BYTE    mode type (see #0104)
  5346.  02h    BYTE    info bits (see #0106)
  5347.  03h    BYTE    font height
  5348.  04h    BYTE    text columns on screen
  5349.  05h    BYTE    text rows on screen
  5350.  06h    WORD    number of scan lines
  5351.  08h    BYTE    color information
  5352.         bits 7-4 reserved
  5353.              3-0 bits per pixel
  5354.  
  5355. Bitfields for Everex info bits:
  5356. Bit(s)    Description    (Table 0106)
  5357.  7,6    reserved
  5358.  5    monochrome mode
  5359.  4    interlaced display
  5360.  3    requires special oscillator
  5361.  2,1    memory required (00 = 256K, 01 = 512K, 10 = 1024K, 11 = 2048K)
  5362.  0    reserved
  5363. --------V-1071-------------------------------
  5364. INT 10 - VIDEO - TANDY 2000 only - GET ADDRESS OF INCRAM
  5365.     AH = 71h
  5366. Return: AX:BX -> WORD containing segment address of INCRAM
  5367.     AX:CX -> WORD containing offset of INCRAM
  5368. SeeAlso: AH=70h"TANDY"
  5369. --------V-1071------------------------------------
  5370. INT 10 - HUNTER 16 - DRAW LINE/BOX
  5371.     AH = 71h
  5372.     DS:BX -> control block (see #0107)
  5373. Desc:    Draws a line or box. Only valid in graphics modes.
  5374. SeeAlso: AH=70h"HUNTER"
  5375.  
  5376. Format of HUNTER 16 control block:
  5377. Offset    Size    Description    (Table 0107)
  5378.  00h    WORD    left edge X co-ordinate
  5379.  02h    BYTE    lower edge Y co-ordinate
  5380.  03h    WORD    right edge X co-ordinate
  5381.  05h    BYTE    upper edge Y co-ordinate
  5382.  06h    BYTE    color (00h white, 01h black, FFh invert)
  5383.  07h    BYTE    type (00h line, 01h box)
  5384.  08h    BYTE    if non-zero (and type is BOX) fill with color
  5385. --------V-1072-------------------------------
  5386. INT 10 - VIDEO - TANDY 2000 only - SCROLL RIGHT PART OR ALL OF SCREEN
  5387.     AH = 72h
  5388.     AL = number of columns to shift scroll area, 00h to clear entire area
  5389.     BH = new attributes for blanked columns at left
  5390.     CH,CL = row, column of upper left corner of scroll area
  5391.     DH,DL = row, column of lower right corner of scroll area
  5392. SeeAlso: AH=06h,AH=07h,AH=73h"TANDY",INT 15/AH=12h/BH=05h
  5393. --------V-1072------------------------------------
  5394. INT 10 - HUNTER 16 - SELECT TEXT-MODE INVERSE VIDEO MECHANISM
  5395.     AH = 72h
  5396.     AL = mechanism to use
  5397.         00h do not use inverse video
  5398.         01h emulate MDA. Display attribute 07h is normal video and 70h is
  5399.         inverse video.
  5400.         02h use inverse video if background is non-black.
  5401.         03h use inverse video for high intensity text.
  5402.         04h use inverse video for text with background intensity greater
  5403.         than foreground intensity.
  5404.         05h use inverse video for text with background color other than
  5405.         black or high intensity foreground.
  5406. SeeAlso: AH=70h"HUNTER",AH=71h"HUNTER"
  5407. --------V-1073-------------------------------
  5408. INT 10 - VIDEO - TANDY 2000 only - SCROLL LEFT PART OR ALL OF SCREEN
  5409.     AH = 73h
  5410.     AL = number of columns to shift scroll area, 00h to clear entire area
  5411.     BH = new attributes for blanked columns at right
  5412.     CH,CL = row, column of upper left corner of scroll area
  5413.     DH,DL = row, column of lower right corner of scroll area
  5414. SeeAlso: AH=06h,AH=07h,AH=72h"TANDY",INT 15/AH=12h/BH=05h
  5415. --------V-1073------------------------------------
  5416. INT 10 - HUNTER 16 - SELECT TEXT FONT
  5417.     AH = 73h
  5418.     AL = new font
  5419.           00h  7x7 in a 8x8 cell
  5420.           01h  5x7 in a 6x8 cell
  5421.           06h  3x5 in a 4x6 cell
  5422. Retuen: BH = cell width
  5423.     BL = cell height
  5424. SeeAlso: AH=60h"HUNTER",AH=77h"HUNTER"
  5425. --------V-1074------------------------------------
  5426. INT 10 - HUNTER 16 - SET LCD WINDOWS POSITION
  5427.     AH = 74h
  5428.     DH = row (0..24)
  5429.     DL = column (0..79)
  5430. Desc:    set the position in the virtual screen being displayed in the LCD
  5431.       screen. If Split Screen (INT 10/AH=66h) is used, this call sets the
  5432.       position for the window which has the cursor.
  5433. SeeAlso: AH=66h"HUNTER",AH=75h,AH=76h
  5434. --------V-1075------------------------------------
  5435. INT 10 - HUNTER 16 - SET ZOOM
  5436.     AH = 75h
  5437.     AL = new Zoom state (00h off, nonzero on)
  5438. SeeAlso: AH=74h,AH=76h
  5439. --------V-1076------------------------------------
  5440. INT 10 - HUNTER 16 - LOOKING KEYS
  5441.     AH = 76h
  5442.     AL = Action
  5443.          00h home the window
  5444.          01h move up one line
  5445.          02h move down one line
  5446.          03h move left one character
  5447.          04h move right one character
  5448.          05h flip window to other side of virtual screen
  5449. Desc:    moves the displayed screen around the virtual screen
  5450. SeeAlso: AH=74h,AH=75h
  5451. --------V-1077------------------------------------
  5452. INT 10 - HUNTER 16 - GET GRAPHICS FONT
  5453.     AH = 77h
  5454. Return: AL = font number (see #0108)
  5455. SeeAlso: AH=60h"HUNTER",AH=73h"HUNTER"
  5456.  
  5457. (Table 0108)
  5458. Values for HUNTER 16 graphics font number:
  5459.  00h     7x7  in a  8x8     cell 
  5460.  01h     5x7  in a  6x8     cell
  5461.  02h     7x9  in a  8x10 cell
  5462.  03h    14x9  in a 16x10 cell
  5463.  04h     7x18 in a  8x20 cell
  5464.  05h    14x18 in a 16x20 cell
  5465.  06h     3x5  in a  4x6     cell
  5466. Note:    size is X * Y
  5467. --------V-1078------------------------------------
  5468. INT 10 - HUNTER 16 - TURN BACKLIGHT ON/OFF
  5469.     AH = 78h 
  5470.     AL = new state of backlight (00h on, 01h off)
  5471. SeeAlso: AH=64h,INT 15/AH=74h
  5472. --------V-107F00-----------------------------
  5473. INT 10 - SOLLEX SuperVGA - GET EXTENSIONS INFO
  5474.     AX = 7F00h
  5475. Return: AL <> 7Fh if not supported
  5476.     AL = 7Fh if supported
  5477.         AH = status
  5478.         00h successful
  5479.             ES:DI -> info structure (see #0109)
  5480.         01h failed
  5481. Program: the SOLLEX (Smos videO controLLer EXtensions) SuperVGA functions are
  5482.       an extension to the VESA SuperVGA BIOS Extensions (see AX=4F00h) by
  5483.       Seiko Epson Corporation intended to provided a standardized interface
  5484.       to SuperVGA functionality not addressed by the VESA standard
  5485. SeeAlso: AX=4F00h
  5486.  
  5487. Format of SOLLEX SuperVGA info structure:
  5488. Offset    Size    Description    (Table 0109)
  5489.  00h    DWORD    pointer to VESA function dispatch table
  5490.  04h    DWORD    pointer to SOLLEX function dispatch table
  5491.  08h    DWORD    pointer to VESA SuperVGA info (see #0063 at AX=4F00h)
  5492.  0Ch    DWORD    pointer to mode info structure table, consisting of
  5493.           alternating ResInfo (see #0110) and VESA mode information
  5494.           (see #0065 at AX=4F01h) blocks, terminated with an FFFFh word
  5495.  10h    DWORD    pointer to font info structure table (see #0111)
  5496.  14h    WORD    high resolution crystal frequency in Hz (0000h = not present)
  5497.  16h    DWORD    pointer to ASCIZ ID string
  5498.  1Ah    DWORD    pointer to timeout reset table
  5499.         array of bytes, each a multiple of the minimum time increment
  5500.  1Eh    WORD    minimum time increment in timer ticks
  5501.  20h    BYTE    inverse options supported
  5502.         bit 0: inverse supported
  5503.         bits 1-7: reserved
  5504.  21h    BYTE    normal color value
  5505.  22h    BYTE    inverse color value
  5506.  23h    WORD    port to be accessed for normal/inverse settings
  5507.  25h    WORD    type of interface chip (currently undefined)
  5508.  27h    WORD    program operational mode
  5509.         bits 1-0: 00 no preference
  5510.               01 terse (minimum detail in program messages)
  5511.               10 verbose
  5512.               11 use menus if supported, verbose mode otherwise
  5513.         bits 7-2: reserved
  5514.  29h    WORD    SOLLEX specification version
  5515.  2Bh    WORD    version of VESA/SOLLEX implementation
  5516.  2Dh    DWORD    offset to relocatable portion of SOLLEX extensions (for CONFIG)
  5517.  2Eh    DWORD    offset to unused section of the extensions ROM
  5518.  31h 16 BYTEs    reserved
  5519. Note:    all DWORD pointers initially require segment fixups; if the segment
  5520.       is 0000h, it should be changed to the returned ES, otherwise it
  5521.       may be assumed to be correct
  5522.  
  5523. Format of SOLLEX SuperVGA ResInfo:
  5524. Offset    Size    Description    (Table 0110)
  5525.  00h    WORD    16-bit mode number
  5526.  02h    WORD    adapter type (00h VGA, 01h EGA, 02h CGA, 03h MDA)
  5527.  04h    WORD    display info (see #0114)
  5528.  06h    DWORD    pointer to video parameter table
  5529.  0Ah    BYTE    replacement entry in master Video Parameter
  5530.  0Bh    BYTE    mode requested for mode set by BIOS
  5531.  0Ch    DWORD    pointer to LoadReg table
  5532.  10h    BYTE    index into table of clock values (see #0112)
  5533.  
  5534. Format of SOLLEX SuperVGA font info table [array] entry:
  5535. Offset    Size    Description    (Table 0111)
  5536.  00h    BYTE    required font height
  5537.  01h    BYTE    parameter to load text mode font
  5538.  02h    BYTE    parameter to load graphics mode font
  5539.  
  5540. (Table 0112)
  5541. Values for SOLLEX SuperVGA clock value index:
  5542.  00h    25 MHz
  5543.  01h    28 MHz
  5544.  02h    PCLK
  5545.  03h    31.5 MHz (VESA 640x480)
  5546.  04h    reserved
  5547.  05h    16 MHz (EGA)
  5548.  06h    PCLK
  5549.  07h    24 MHz (EGA)
  5550.  08h    25 MHz
  5551.  09h    28 MHz
  5552.  0Ah    36 MHz
  5553.  0Bh    45 MHz (for 1024x768)
  5554.  0Ch    80 MHz
  5555.  0Dh    40 MHz
  5556.  0Eh    65 MHz
  5557.  0Fh     1 MHz (for powerdown)
  5558. --------V-107F00BX4000-----------------------
  5559. INT 10 - Diamond Stealth 24 - GET S3 INFORMATION BLOCK
  5560.     AX = 7F00h
  5561.     BX = 4000h
  5562. Return: AX = 007Fh if supported
  5563.         DX:BX -> DAC set mode routine
  5564. SeeAlso: AX=7F00h/BX=4001h,AX=7F00h/BX=4002h
  5565. --------V-107F00BX4001-----------------------
  5566. INT 10 - Diamond Stealth 24 - GET LINEAR ADDRESS
  5567.     AX = 7F00h
  5568.     BX = 4001h
  5569. Return: AX = 007Fh if supported
  5570.         CX = current linear address base (high word)
  5571. SeeAlso: AX=7F00h/BX=4000h,AX=7F00h/BX=4002h
  5572. --------V-107F00BX4002-----------------------
  5573. INT 10 - Diamond Stealth 24 - SET LINEAR ADDRESS
  5574.     AX = 7F00h
  5575.     BX = 4002h
  5576.     CX = new linear address base (high word)
  5577. Return: AX = 007Fh if supported
  5578. SeeAlso: AX=7F00h/BX=4000h,AX=7F00h/BX=4001h
  5579. --------V-107F01BL00-------------------------
  5580. INT 10 - SOLLEX SuperVGA - ADAPTER CONTROL - SET ADAPTER
  5581.     AX = 7F01h
  5582.     BL = 00h
  5583.     CX = adapter request (see #0113)
  5584. Return:    AL <> 7Fh if not supported
  5585.     AL = 7Fh if supported
  5586.         AH = status
  5587.         00h successful
  5588.         01h failed
  5589. Note:    initializes video hardware to a particular standard
  5590. SeeAlso: AX=7F00h,AX=7F01h/BL=01h,AX=7F01h/BL=02h
  5591.  
  5592. Bitfields for SOLLEX SuperVGA adapter request:
  5593. Bit(s)    Description    (Table 0113)
  5594.  1-0    adapter type (00 VGA, 01 EGA, 10 CGA, 11 MDA)
  5595.  2    reserved
  5596.  4-3    change displays (00 none, 01 analog 10 digital 11 panel)
  5597.  6-5    desired monitor sense (01 color, 10 mono, 11=8514)
  5598.  7    lock override
  5599.  8    alternate adapter mode
  5600.  15-9    reserved
  5601. --------V-107F01BL01-------------------------
  5602. INT 10 - SOLLEX SuperVGA - ADAPTER CONTROL - GET ADAPTER
  5603.     AX = 7F01h
  5604.     BL = 01h
  5605. Return: AL <> 7Fh if not supported
  5606.     AL = 7Fh if supported
  5607.         AH = status
  5608.         00h successful
  5609.         01h failed
  5610.         BX = adapter type (see #0113)
  5611.         DX = display type (see #0114)
  5612. SeeAlso: AX=7F00h,AX=7F01h/BL=00h,AX=7F01h/BL=02h
  5613.  
  5614. Bitfields for SOLLEX SuperVGA display type:
  5615. Bit(s)    Description    (Table 0114)
  5616.  15-9    reserved
  5617.  8    alternate display active
  5618.  7    Enhanced Color Display monitor active
  5619.  6    multi-frequency digital monitor active
  5620.  5    PS/2-type monitor active
  5621.  4    plasma/electroluminescent panel active
  5622.  3    LCD panel active
  5623.  2    multi-frequency analog monitor active
  5624.  1-0    monitor sense (00 none, 01 color, 10 mono, 11=8514)
  5625. --------V-107F01BL02-------------------------
  5626. INT 10 - SOLLEX SuperVGA - ADAPTER CONTROL - DETERMINE ADAPTER SUPPORT
  5627.     AX = 7F01h
  5628.     BL = 02h
  5629.     CX = adapter request (see #0113)
  5630. Return: AL <> 7Fh if not supported
  5631.     AL = 7Fh if supported
  5632.         AH = status
  5633.         00h requested setting can successfully be made
  5634.         01h requested setting not available in this configuration
  5635. SeeAlso: AX=7F00h,AX=7F01h/BL=00h
  5636. --------V-107F02BL00-------------------------
  5637. INT 10 - SOLLEX SuperVGA - DISPLAY OUTPUT CONTROL - SET DISPLAY OUTPUT
  5638.     AX = 7F02h
  5639.     BL = 00h
  5640.     CX = display output setting (see #0115)
  5641. Return: AL <> 7Fh if not supported
  5642.     AL = 7Fh if supported
  5643.         AH = status
  5644.         00h successful
  5645.         01h failed
  5646. SeeAlso: AX=7F00h,AX=7F02h/BL=00h
  5647.  
  5648. Bitfields for SOLLEX SuperVGA display output setting:
  5649. Bit(s)    Description    (Table 0115)
  5650.  0    CRTC control in 2,1 valid
  5651.  1    enable digital output
  5652.  2    enable analog output
  5653.  3    panel control in 5,4 valid
  5654.  4    enable LCD output
  5655.  5    enable plasma/EL output
  5656.  6    inverse control in 7 valid
  5657.  7    0=normal, 1=inverse
  5658.  15-8    reserved
  5659. --------V-107F02BL01-------------------------
  5660. INT 10 - SOLLEX SuperVGA - DISPLAY OUTPUT CONTROL - GET DISPLAY OUTPUT
  5661.     AX = 7F02h
  5662.     BL = 01h
  5663. Return: AL <> 7Fh if not supported
  5664.     AL = 7Fh if supported
  5665.         AH = status
  5666.         00h successful
  5667.             BX = display output setting (see #0115)
  5668.             CX = displays attached (see #0116)
  5669.         01h failed
  5670. SeeAlso: AX=7F00h,AX=7F02h/BL=00h
  5671.  
  5672. Bitfields for SOLLEX SuperVGA displays attached:
  5673. Bit(s)    Description    (Table 0116)
  5674.  0    PS/2 display on analog output
  5675.  1    multi-frequency monitor on analog output
  5676.  2    LCD panel attached
  5677.  3    plasma/electroluminescent panel attached
  5678.  4    multi-frequency monitor on digital output
  5679.  5    Enhanced Color Display attached to digital outpt
  5680.  6    alternate display
  5681.  15-7    reserved
  5682. --------V-107F03BL00-------------------------
  5683. INT 10 - SOLLEX SuperVGA - VIDEO SUPPORT CONTROL - GET SUPPORT INFO
  5684.     AX = 7F03h
  5685.     BL = 00h
  5686.     CX = support type
  5687.         0000h VGA, 0001h EGA, 0002h CGA, 0003h MDA, 0004h extensions,
  5688.         0005h-0012h reserved for SOLLEX, 0013h Hercules,
  5689.         0014h-001Fh reserved for SOLLEX, 0020h-00FFh reserved for OEM
  5690. Return: AL <> 7Fh if not supported
  5691.     AL = 7Fh if supported
  5692.         AH = status
  5693.         00h successful
  5694.             CX = size of video support code
  5695.             DX = segment of physical video support (0000h if no ROM)
  5696.             ES = segment of active video support
  5697.             ES:DI -> information block (DI = 0000h if none available)
  5698.         01h failed
  5699. SeeAlso: AX=7F03h/BL=01h
  5700. --------V-107F03BL01-------------------------
  5701. INT 10 - SOLLEX SuperVGA - VIDEO SUPPORT CONTROL - INITIALIZE VIDEO SUPPORT
  5702.     AX = 7F03h
  5703.     BL = 01h
  5704.     CX = support request
  5705.     ES = segment of support code
  5706. Return: AL <> 7Fh if not supported
  5707.     AL = 7Fh if supported
  5708.         AH = status
  5709.         00h successful
  5710.         01h failed
  5711. Note:    initializes the indicated video support by calling ES:0003h; this
  5712.       function may be used to switch the active video support back to
  5713.       ROM after AX=7F03h/BL=02h
  5714. SeeAlso: AX=7F03h/BL=00h
  5715. --------V-107F03BL02-------------------------
  5716. INT 10 - SOLLEX SuperVGA - VIDEO SUPPORT CONTROL - GO RAM RESIDENT
  5717.     AX = 7F03h
  5718.     BL = 02h
  5719.     CX = support request
  5720.     ES = destination segment
  5721. Return: AL <> 7Fh if not supported
  5722.     AL = 7Fh if supported
  5723.         AH = status
  5724.         00h successful
  5725.         01h failed
  5726. SeeAlso: AX=7F00h,AX=7F03h/BL=01h
  5727. --------V-107F04BL00-------------------------
  5728. INT 10 - SOLLEX SuperVGA - POWER CONTROL - SET POWER STATE
  5729.     AX = 7F04h
  5730.     BL = 00h
  5731.     CX = new power state
  5732. Return: AL <> 7Fh if not supported
  5733.     AL = 7Fh if supported
  5734.         AH = status
  5735.         00h successful
  5736.         01h failed
  5737. Note:    higher values progressively reduce the operations available on the
  5738.       video adapter while yielding increasing power savings
  5739. SeeAlso: AX=7F00h,AX=7F04h/BL=01h
  5740. --------V-107F04BL01-------------------------
  5741. INT 10 - SOLLEX SuperVGA - POWER CONTROL - GET POWER STATE
  5742.     AX = 7F04h
  5743.     BL = 01h
  5744. Return: AL <> 7Fh if not supported
  5745.     AL = 7Fh if supported
  5746.         AH = status
  5747.         00h successful
  5748.             CX = current power state
  5749.             DX = maximum state
  5750.         01h failed
  5751. SeeAlso: AX=7F00h,AX=7F04h/BL=00h
  5752. --------V-107F04BL02-------------------------
  5753. INT 10 - SOLLEX SuperVGA - POWER CONTROL - SET TIMEOUT RESET
  5754.     AX = 7F04h
  5755.     BL = 02h
  5756.     CX = timeout reset
  5757. Return: AL <> 7Fh if not supported
  5758.     AL = 7Fh if supported
  5759.         AH = status
  5760.         00h successful
  5761.         01h failed
  5762. SeeAlso: AX=7F00h,AX=7F04h/BL=03h
  5763. --------V-107F04BL03-------------------------
  5764. INT 10 - SOLLEX SuperVGA - POWER CONTROL - GET TIMEOUT RESET
  5765.     AX = 7F04h
  5766.     BL = 03h
  5767. Return: AL <> 7Fh if not supported
  5768.     AL = 7Fh if supported
  5769.         AH = status
  5770.         00h successful
  5771.             BX = time increment
  5772.             CX = current timeout reset
  5773.             DX = maximum timeout reset
  5774.             ES:DI -> timeout reset table (array of bytes)
  5775.         01h failed
  5776. Note:    the timeout period is computed as (BYTE ES:[DI+CX]) * BX timer ticks
  5777. SeeAlso: AX=7F00h,AX=7F04h/BL=02h
  5778. --------V-107F05-----------------------------
  5779. INT 10 - SOLLEX SuperVGA - LOAD REGISTER
  5780.     AX = 7F05h
  5781.     ES:DI -> register value table (see #0117)
  5782. Return: AL <> 7Fh if not supported
  5783.     AL = 7Fh if supported
  5784.         AH = status
  5785.         00h successful
  5786.         01h failed
  5787. SeeAlso: AH=F1h,AH=F3h,AH=F5h
  5788.  
  5789. Format of SOLLEX SuperVGA register value table:
  5790. Offset    Size    Description    (Table 0117)
  5791.  00h    WORD    base I/O register (FFFFh = end of list)
  5792.  02h 2N BYTEs    pairs of values to be written to the base I/O register as an
  5793.           index value and the following register as a data byte
  5794.  2N+2    WORD    FFFFh (end of data list)
  5795.     ... (repeats until FFFFh base address)
  5796. --------V-107F06-----------------------------
  5797. INT 10 - SOLLEX SuperVGA - MULTIPLE FONT CONTROL
  5798.     AX = 7F06h
  5799.     BL = subfunction
  5800.         00h set multiple font state
  5801.         CX = new state (00h off, 01h on)
  5802.         01h get multiple font state
  5803.         Return: BL = current state (00h off, 01h on)
  5804. Return: AL <> 7Fh if not supported
  5805.     AL = 7Fh if supported
  5806.         AH = status
  5807.         00h successful
  5808.         01h failed
  5809. SeeAlso: AH=11h
  5810. --------V-107F07-----------------------------
  5811. INT 10 - SOLLEX SuperVGA - FILL VIDEO RAM
  5812.     AX = 7F07h
  5813.     BL = how much to fill
  5814.        00h regen size
  5815.        01h all video memory
  5816.     CX = pattern to write (normally 0720h for text modes and 0000h for gr)
  5817. Return: AL <> 7Fh if not supported
  5818.     AL = 7Fh if supported
  5819.         AH = status
  5820.         00h successful
  5821.         01h failed
  5822. SeeAlso: AH=06h
  5823. --------A-1080-------------------------------
  5824. INT 10 - CU Writer v1.4 - GET OPTION
  5825.     AH = 80h
  5826.     AL = desired option
  5827. Return: ???
  5828. Program: CU Writer is a public-domain Thai-English word processor from
  5829.       Chulalongkorn University, Bangkok
  5830. SeeAlso: AH=81h"CU Writer"
  5831. --------Q-1080--DX4456-----------------------
  5832. INT 10 U - VIDEO - DESQview 2.0x only - internal - SET ??? HANDLER
  5833.     AH = 80h
  5834.     DX = 4456h ('DV')
  5835.     ES:DI -> FAR subroutine to be called on ???
  5836. Return: DS = segment of DESQview data structure for video buffer
  5837. Note:    this function is probably meant for internal use only, due to the magic
  5838.       value required in DX
  5839.     the subroutine seems to be called when the DESQview menu is accessed;
  5840.       on entry, AL = 03h or 04h
  5841. --------A-1081-------------------------------
  5842. INT 10 - CU Writer v1.4 - SET OPTION
  5843.     AH = 81h
  5844.     ???
  5845. Return: ???
  5846. SeeAlso: AH=80h"CU Writer"
  5847. --------Q-1081--DX4456-----------------------
  5848. INT 10 U - VIDEO - DESQview 2.0x only - internal - GET ???
  5849.     AH = 81h
  5850.     DX = 4456h ('DV')
  5851. Return: ES = segment of DESQview data structure for video buffer
  5852.         BYTE ES:[0] = current window number in DV 2.0x
  5853. Note:    this function is probably meant for internal use only, due to the magic
  5854.       value required in DX
  5855. SeeAlso: AH=82h"DESQview"
  5856. --------Q-1082--DX4456-----------------------
  5857. INT 10 U - VIDEO - DESQview 2.0x only - internal - GET CURRENT WINDOW INFO
  5858.     AH = 82h
  5859.     DX = 4456h ('DV')
  5860. Return: DS = segment in DESQview for data structure
  5861.          in DV 2.00,
  5862.           BYTE DS:[0] = window number
  5863.           WORD DS:[1] = segment of other data structure
  5864.           WORD DS:[3] = segment of window's object handle
  5865.     ES = segment of DESQview data structure for video buffer
  5866.     AL = current window number
  5867.     AH = ???
  5868.     BL = direct screen writes
  5869.         00h program does not do direct writes
  5870.         01h program does direct writes, so shadow buffer not usable
  5871.     BH = ???
  5872.     CL = current video mode
  5873.     CH = ???
  5874. Note:    this function is probably meant for internal use only, due to the magic
  5875.       value required in DX
  5876. SeeAlso: AH=81h"DESQview"
  5877. --------J-108200-----------------------------
  5878. INT 10 - VIDEO - AX PC - GET/SET SCROLL MODE
  5879.     AX = 8200h
  5880.     BL = new scroll mode or FFh to get current mode
  5881.         00h dynamic, 01h software
  5882. Return: AL = scroll mode (current mode if BL=FFh, previous mode otherwise)
  5883. SeeAlso: AH=06h,AH=07h
  5884. --------J-108300-----------------------------
  5885. INT 10 - VIDEO - AX PC - GET VIDEO RAM ADDRESS
  5886.     AX = 8300h
  5887. Return: AX = offset of video RAM
  5888.     ES:BX -> virtual text RAM buffer
  5889. SeeAlso: AX=5201h
  5890. --------N-108B-------------------------------
  5891. INT 10 - Alloy MW386 - FORCE WORKSTATION SCREEN UPDATE
  5892.     AH = 8Bh
  5893. SeeAlso: AH=92h,AH=93h
  5894. --------N-1090-------------------------------
  5895. INT 10 - Alloy MW386 - GET PHYSICAL WORKSTATION DISPLAY MODE
  5896.     AH = 90h
  5897. Return: AL = current video mode (see #0009 at AH=00h)
  5898. SeeAlso: AH=91h
  5899. --------N-1091-------------------------------
  5900. INT 10 - Alloy MW386 - GET PHYSICAL WORKSTATION ADAPTER TYPE
  5901.     AH = 91h
  5902. Return: AL = video adapter type (see #0118)
  5903. Note:    types less than 80h do not imply that the current user is on the host
  5904. SeeAlso: AH=90h
  5905.  
  5906. (Table 0118)
  5907. Values for Alloy MW386 video adapter type:
  5908.  00h    monochrome
  5909.  01h    Hercules monochrome graphics
  5910.  02h    CGA
  5911.  03h    EGA
  5912.  04h    VGA
  5913.  80h    monochrome text terminal
  5914.  81h    Hercules graphics terminal
  5915.  82h    color graphics terminal
  5916. --------N-1092-------------------------------
  5917. INT 10 - Alloy MW386 - INHIBIT WORKSTATION SCREEN UPDATES
  5918.     AH = 92h
  5919. Note:    the terminal will be updated even when screen updates are inhibited if
  5920.       TTY output is used
  5921. SeeAlso: AH=8Bh
  5922. --------N-1093-------------------------------
  5923. INT 10 - Alloy MW386 - REDRAW SCREEN
  5924.     AH = 93h
  5925. SeeAlso: AH=8Bh,AH=FFh
  5926. --------A-10A0-------------------------------
  5927. INT 10 - CU Writer v1.4 - SET PIXEL WRITE MODE
  5928.     AH = A0h
  5929.     ???
  5930. Return: ???
  5931. Program: CU Writer is a public-domain Thai-English word processor from
  5932.       Chulalongkorn University, Bangkok
  5933. SeeAlso: AH=80h"CU Writer",AH=B0h
  5934. --------p-10A0-------------------------------
  5935. INT 10 - ATI Mach64 BIOS - Display Power Management Signalling API???
  5936.     AH = A0h
  5937.     AL = function (00h-13h)
  5938.     ???
  5939. Return: AH = status
  5940.         00h successful
  5941.         01h failed
  5942.     ???
  5943. SeeAlso: AX=4F10h/BL=00h
  5944. --------p-10A00C-----------------------------
  5945. INT 10 - ATI Mach64 BIOS - SET SLEEP MODE
  5946.     AX = A00Ch
  5947.     CL = new state
  5948.         01h standby
  5949.         02h suspend
  5950.         03h off
  5951. Return: AH = status
  5952.         00h successful
  5953.         01h failed
  5954. SeeAlso: AX=4F00h,AX=4F10h/BL=01h
  5955. --------A-10B0-------------------------------
  5956. INT 10 - CU Writer v1.4 - PUT PIXEL
  5957.     AH = B0h
  5958.     ???
  5959. Return: ???
  5960. SeeAlso: AH=A0h"CU Writer",AH=B1h,AH=B2h,AH=B3h,AH=B4h,AH=B5h,AH=D0h
  5961. --------A-10B1-------------------------------
  5962. INT 10 - CU Writer v1.4 - MOVE TO
  5963.     AH = B1h
  5964.     ???
  5965. Return: ???
  5966. SeeAlso: AH=B0h,AH=B2h,AH=C0h"CU Writer"
  5967. --------A-10B2-------------------------------
  5968. INT 10 - CU Writer v1.4 - DRAW LINE TO
  5969.     AH = B2h
  5970.     ???
  5971. Return: ???
  5972. SeeAlso: AH=B0h,AH=B1h,AH=B3h,AH=B4h,AH=B5h
  5973. --------A-10B3-------------------------------
  5974. INT 10 - CU Writer v1.4 - FLOOD FILL
  5975.     AH = B3h
  5976.     ???
  5977. Return: ???
  5978. SeeAlso: AH=B2h,AH=B5h
  5979. --------A-10B4-------------------------------
  5980. INT 10 - CU Writer v1.4 - DRAW RECTANGLE
  5981.     AH = B4h
  5982.     ???
  5983. Return: ???
  5984. SeeAlso: AH=B0h,AH=B2h,AH=B3h,AH=B5h
  5985. --------A-10B5-------------------------------
  5986. INT 10 - CU Writer v1.4 - DRAW FILLED RECTANGLE
  5987.     AH = B5h
  5988.     ???
  5989. Return: ???
  5990. SeeAlso: AH=B0h,AH=B2h,AH=B3h,AH=B4h
  5991. --------V-10BD44-----------------------------
  5992. INT 10 U - Compaq QVision - ???
  5993.     AX = BD44h
  5994.     ???
  5995. Return: ???
  5996. Note:    called by Compaq's MTX132.COM, which places the QVision in 132-column
  5997.       mode
  5998. --------b-10BF00-----------------------------
  5999. INT 10 - VIDEO - Compaq Extensions - SELECT EXTERNAL MONITOR
  6000.     AX = BF00h
  6001. Desc:    specify that the external monitor become the active monitor
  6002. Note:    all registers preserved and the internal monitor is blanked
  6003. SeeAlso: AX=BF01h,AX=BF12h
  6004. --------b-10BF01-----------------------------
  6005. INT 10 - VIDEO - Compaq Extensions - SELECT INTERNAL MONITOR
  6006.     AX = BF01h
  6007. Desc:    specify that the internal monitor become the active monitor
  6008. Note:    all registers preserved and the external monitor is blanked
  6009. SeeAlso: AX=BF00h,AX=BF12h
  6010. --------b-10BF02-----------------------------
  6011. INT 10 - VIDEO - Compaq Extensions - SET MASTER MODE OF CURRENT CONTROLLER
  6012.     AX = BF02h
  6013.     BH = master mode
  6014.         04h CGA
  6015.         05h EGA
  6016.         07h MDA
  6017. SeeAlso: AX=BF03h
  6018. --------b-10BF03BX0000-----------------------
  6019. INT 10 - VIDEO - Compaq Extensions - GET ENVIRONMENT
  6020.     AX = BF03h
  6021.     BX = 0000h
  6022. Return: BH = active monitor
  6023.         (00h = external, 01h = internal, 03h both, 04h neither)
  6024.     BL = master mode (see #0119)
  6025.     CH = ASIC type and version
  6026.         00h (reserved, very early Compaq VGCs)
  6027.         31h if QVision VGA
  6028.     CL = switchable VDU modes supported (see #0120)
  6029.     DH = internal monitor type (see #0121)
  6030.     DL = external monitor type (see #0121)
  6031. SeeAlso: AX=1A00h,AX=BF00h,AX=BF01h,AX=BF02h,AX=BF11h
  6032.  
  6033. (Table 0119)
  6034. Values for Compaq video master mode:
  6035.  00h    switchable VDU not present
  6036.  04h    CGA
  6037.  05h    EGA
  6038.  07h    MDA
  6039.  08h    switchable LCD controller present
  6040.  09h    plasma VGA
  6041.  0Ah    TFT (active-matrix) VGA
  6042.  
  6043. Bitfields for Compaq switchable VDU modes support:
  6044. Bit(s)    Description    (Table 0120)
  6045.  0    CGA supported
  6046.  1,2    reserved (1)
  6047.  3    MDA supported
  6048.  4    BitBLT engine available
  6049.  5    132-column support availble
  6050.  6    640x480x256 mode available
  6051.  7    8-bit DAC mode available
  6052.  
  6053. (Table 0121)
  6054. Values for Compaq monitor type:
  6055.  00h    none
  6056.  01h    dual-mode monitor
  6057.  02h    5153 RGB monitor (RGBI 16-color)
  6058.  03h    Compaq Color monitor
  6059.  04h    640x400 flat panel (Plasma CGA)
  6060.  05h    VGC monochrome
  6061.  06h    VGC color
  6062.  07h    8-level mono LCD VGA (internal)
  6063.     1024x768 mono VGA (external)
  6064.  08h    16-level mono plasma VGA (internal)
  6065.     1024x768 color VGA (external)
  6066.  09h    4-level mono LCD CGA
  6067.  0Ah    16-level mono LCD VGA
  6068.  0Bh    active-matrix color VGA
  6069.  0Ch    active-matrix mono VGA
  6070.  0Dh    STN color VGA
  6071. --------b-10BF04-----------------------------
  6072. INT 10 - VIDEO - Compaq Extensions - SET MODE SWITCH DELAY
  6073.     AX = BF04h
  6074.     BH = new state of delay (00h enabled, 01h disabled)
  6075. Note:    the 04/08/93 sytem ROM appears to use BL instead of BH; a future
  6076.       version of the list will provide more definite information
  6077. SeeAlso: AX=BF05h
  6078. --------b-10BF05-----------------------------
  6079. INT 10 - VIDEO - Compaq Extensions - ENABLE/DISABLE DISPLAY
  6080.     AX = BF05h
  6081.     BH = new state of video
  6082.         00h off
  6083.         01h on
  6084. Note:    the 04/08/93 sytem ROM appears to use BL instead of BH; a future
  6085.       version of the list will provide more definite information
  6086. SeeAlso: AH=12h/BL=36h,AX=BF04h
  6087. --------b-10BF06-----------------------------
  6088. INT 10 - VIDEO - Compaq SLT/286 - READ GRAY SCALE TABLE
  6089.     AX = BF06h
  6090.     CL = address to be read from gray scale table
  6091. Return: AL = bit 3-0 - Value read from gray scale table
  6092.     CL = address to be read from gray scale table
  6093. SeeAlso: AH=12h/BL=33h,AX=BF07h
  6094. --------b-10BF07-----------------------------
  6095. INT 10 - VIDEO - Compaq SLT/286 - WRITE GRAY SCALE TABLE
  6096.     AX = BF07h
  6097.     CH = value to write to gray scale table
  6098.     CL = address to be written to gray scale table
  6099. SeeAlso: AX=BF06h,AX=BF08h
  6100. --------b-10BF08-----------------------------
  6101. INT 10 - VIDEO - Compaq SLT/286 - WRITE COLOR MIX REGISTERS
  6102.     AX = BF08h
  6103.     CH = bits 7-4 green weight
  6104.          bits 3-0 blue weight
  6105.     CL = bits 7-4 unused
  6106.          bits 3-0 red weight
  6107. SeeAlso: AH=12h/BH=33h,AX=BF07h
  6108. --------b-10BF09-----------------------------
  6109. INT 10 - VIDEO - Compaq Extensions - TURN ON REVERSE VIDEO
  6110.     AX = BF09h
  6111. Return: CF clear
  6112. Notes:    sets bit 6 of port 03CEh index 81h; in some cases also sets index 84h
  6113.       to 6Fh and index 83h to 04h
  6114.     supported by at least the QVision board and the LTE Lite ROM BIOS
  6115. SeeAlso: AX=BF0Ah,AX=BF0Bh
  6116. --------b-10BF0A-----------------------------
  6117. INT 10 - VIDEO - Compaq Extensions - TURN OFF REVERSE VIDEO
  6118.     AX = BF0Ah
  6119. Return: CF clear
  6120. Notes:    clears bit 6 of port 03CEh index 81h; in some cases also sets index 84h
  6121.       to 80h and index 83h to FBh
  6122.     supported by at least the QVision board and the LTE Lite ROM BIOS
  6123. SeeAlso: AX=BF09h,AX=BF0Bh
  6124. --------b-10BF0B-----------------------------
  6125. INT 10 - VIDEO - Compaq Extensions - CHECK WHETHER VIDEO REVERSED
  6126.     AX = BF0Bh
  6127. Return: CF clear
  6128.     AX = state (0000h normal video, 0001h reverse video)
  6129. Note:    supported by at least the QVision board and the LTE Lite ROM BIOS
  6130. SeeAlso: AX=BF09h,AX=BF0Ah
  6131. --------b-10BF0C-----------------------------
  6132. INT 10 - VIDEO - Compaq Extensions - SET DAC 6-BIT MODE
  6133.     AX = BF0Ch
  6134. Return: CF clear
  6135. Desc:    specify that video DAC registers use only six bits of color info
  6136. Note:    supported by at least the QVision board and the SystemPro XL ROM BIOS
  6137. SeeAlso: AX=BF0Dh,AX=BF0Eh
  6138. --------b-10BF0D-----------------------------
  6139. INT 10 - VIDEO - Compaq Extensions - SET DAC 8-BIT MODE
  6140.     AX = BF0Dh
  6141. Return: CF clear
  6142. Desc:    specify that video DAC registers use all eight bits of color info
  6143. Note:    supported by at least the QVision board and the SystemPro XL ROM BIOS
  6144. SeeAlso: AX=BF0Ch,AX=BF0Eh
  6145. --------b-10BF0E-----------------------------
  6146. INT 10 - VIDEO - Compaq Extensions - CHECK DAC 6-BIT/8-BIT mode
  6147.     AX = BF0Eh
  6148. Return: CF clear
  6149.     AL = DAC mode
  6150.         00h in 6-bit mode
  6151.         01h in 8-bit mode
  6152. Note:    supported by at least the QVision board and the SystemPro XL ROM BIOS
  6153. SeeAlso: AX=BF0Ch,AX=BF0Dh
  6154. --------b-10BF0F-----------------------------
  6155. INT 10 - VIDEO - Compaq Extensions - SET HIGH ADRESS MAP REGISTER
  6156.     AX = BF0Fh
  6157.     BX = high address map location in megabytes, or
  6158.         0000h to disable high address map, or
  6159.         FFFFh to let ROM configure high address map
  6160. Return: CF clear
  6161.     AX = previous value of high address map register
  6162. Notes:    supported by at least the QVision board and the SystemPro XL and LTE
  6163.       Lite ROM BIOSes
  6164. SeeAlso: AX=BF10h
  6165. --------b-10BF10-----------------------------
  6166. INT 10 - VIDEO - Compaq Extensions - GET HIGH ADDRESS MAP REGISTER
  6167.     AX = BF10h
  6168. Return: CF clear
  6169.     AX = current value of high address map register
  6170. Notes:    supported by at least the QVision board and the SystemPro XL and LTE
  6171.       Lite ROM BIOSes
  6172.     the Compaq QVision documentation (October 1993) says the value is
  6173.       returned in BX, but this appears to be one of many typos
  6174. SeeAlso: AX=BF0Fh
  6175. --------b-10BF11-----------------------------
  6176. INT 10 - VIDEO - Compaq Extensions - GET EXTENDED ENVIRONMENT
  6177.     AX = BF11h
  6178. Return: AL = BFh if supported
  6179.         CF clear
  6180.         ES:BX -> ASCII signature "COMPAQ"
  6181.         ES:DI -> advanced functionality table (see #0122)
  6182. Notes:    supported by at least the QVision board and the LTE Lite and ProSignia
  6183.       ROM BIOSes
  6184.     the QVision documentation (October 1993) states that the signature
  6185.       pointer is in ES:DI and the table pointer in ES:SI -- can someone
  6186.       check on this?
  6187. SeeAlso: AX=1A00h,AX=BF03h
  6188.  
  6189. Bitfields for Compaq advanced video functionality:
  6190. Bit(s)    Description    (Table 0122)
  6191.  31    future graphics extensions (reserved, set to 0)
  6192.  30-16    reserved
  6193.  15-12    available video memory in 256K blocks, less one (0000 = 256K, etc.)
  6194.  11-8    reserved
  6195.  7    QVision modes supported
  6196.  6    Advanced VGA modes supported
  6197.  5    Accelerated VGA modes supported
  6198.  4    standard VGA modes supported
  6199.  3-2    reserved
  6200.  1    132-column modes supported
  6201.  0    reserved
  6202. --------b-10BF12-----------------------------
  6203. INT 10 - VIDEO - Compaq Extensions - NEW ACTIVE MONITOR
  6204.     AX = BF12h
  6205.     BH reserved
  6206.     BL = function mask (see #0123)
  6207. Return: CF clear
  6208. Notes:    this function is a NOP if the VGA subsystem is inactive or the current
  6209.       Display Combination Code is 10h or higher
  6210.     supported by at least the QVision board and the LTE Lite and ProSignia
  6211.       ROM BIOSes
  6212. SeeAlso: AX=BF01h,AX=BF02h
  6213.  
  6214. Bitfields for function mask:
  6215. Bit(s)    Description    (Table 0123)
  6216.  7    command mode
  6217.     if set, bits 1 and 0 make the monitor active when set
  6218.     if clear, bits 1 and 0 toggle the monitor's state when set
  6219.  6-2    reserved
  6220.  1    internal monitor
  6221.  0    external monitor
  6222. --------b-10BF13-----------------------------
  6223. INT 10 - VIDEO - Compaq QVision - GAMMA CORRECTION
  6224.     AX = BF13h
  6225.     BL = subfunction
  6226.         00h load gamma correction table for true-color mode
  6227.         DS = BIOS data segment
  6228.         01h set palette RAM bypass
  6229.     BH = 00h
  6230. Return:    nothing
  6231. Note:    these functions must be called after a video mode set, and are in
  6232.       effect only for the current video mode
  6233. --------V-10BFA0BXADAD-----------------------
  6234. INT 10 - VIDEO - Compaq ADAPT.COM - INSTALLATION CHECK
  6235.     AX = BFA0h
  6236.     BX = ADADh
  6237. Return: AX = BDBDh if newer ADAPT.COM installed
  6238.         BX = BCD version (BH = major, BL = minor)
  6239.         CL = ???
  6240.         CH = ???
  6241.         DL = ???
  6242.     AX = ADADh if older version of ADAPT.COM installed
  6243. Program: ADAPT is Compaq's Advanced Display Attribute Programming Tool, an
  6244.       optionally-resident utility for setting display colors and cursor
  6245.       size; when resident, it also includes a screen blanker
  6246. SeeAlso: AX=BFA1h,AX=BFA2h,AX=DFA5h
  6247. Index:    screen saver;ADAPT
  6248. --------V-10BFA1-----------------------------
  6249. INT 10 - VIDEO - Compaq ADAPT.COM - GET ???
  6250.     AX = BFA1h
  6251. Return: AX = BDBEh if supported
  6252.         CH = current value of ???
  6253.         DL = current value of ???
  6254. SeeAlso: AX=BFA0h,AX=BFA2h
  6255. --------V-10BFA2-----------------------------
  6256. INT 10 - VIDEO - Compaq ADAPT.COM - SET ???
  6257.     AX = BFA2h
  6258.     CH = new value for ???
  6259.     DL = new value for ???
  6260. Return: AX = BDBEh if supported
  6261. SeeAlso: AX=BFA0h,AX=BFA1h
  6262. --------A-10C0-------------------------------
  6263. INT 10 - CU Writer v1.4 - GO TO TEXT ROW AND COLUMN
  6264.     AH = C0h
  6265.     ???
  6266. Return: ???
  6267. SeeAlso: AH=B1h,AH=C1h,AH=C2h,AH=C3h,AH=C4h
  6268. --------A-10C1-------------------------------
  6269. INT 10 - CU Writer v1.4 - OUTPUT TEXT
  6270.     AH = C1h
  6271.     ???
  6272. Return: ???
  6273. SeeAlso: AH=C0h,AH=C2h,AH=C3h,AH=C4h
  6274. --------A-10C2-------------------------------
  6275. INT 10 - CU Writer v1.4 - REVERSE TEXT
  6276.     AH = C2h
  6277.     ???
  6278. Return: ???
  6279. SeeAlso: AH=C0h,AH=C1h,AH=C3h,AH=C4h
  6280. --------A-10C3-------------------------------
  6281. INT 10 - CU Writer v1.4 - TEXT BAR
  6282.     AH = C3h
  6283.     ???
  6284. Return: ???
  6285. SeeAlso: AH=C0h,AH=C1h,AH=C4h
  6286. --------A-10C4-------------------------------
  6287. INT 10 - CU Writer v1.4 - TEXT MENU
  6288.     AH = C4h
  6289.     ???
  6290. Return: ???
  6291. SeeAlso: AH=C0h,AH=C1h,AH=C3h,AH=D0h
  6292. ----------10CB00-----------------------------
  6293. INT 10 - UNCHAIN - SAVE CURRENT VGA REGISTERS
  6294.     AX = CB00h
  6295. Note:    combined with AX=CB06h, this function permits the use of video mode
  6296.       13h together with the VGA's unchained mode
  6297. SeeAlso: AX=CB06h,AX=CBFFh
  6298. ----------10CB01-----------------------------
  6299. INT 10 - UNCHAIN - UPDATE PAGE 1 OFFSET
  6300.     AX = CB01h
  6301.     BX = offset of page 1
  6302. Desc:    inform UNCHAIN of the location of video page 1 in video memory; the
  6303.       default is 0000h
  6304. SeeAlso: AX=CB02h,AX=CB03h,AX=CB04h,AX=CBFFh
  6305. ----------10CB02-----------------------------
  6306. INT 10 - UNCHAIN - UPDATE PAGE 2 OFFSET
  6307.     AX = CB02h
  6308.     BX = offset of page 2
  6309. Desc:    inform UNCHAIN of the location of video page 2 in video memory; the
  6310.       default is 3E80h (16000, for 320x200)
  6311. SeeAlso: AX=CB00h,AX=CB01h,AX=CB03h,AX=CB04h
  6312. ----------10CB03-----------------------------
  6313. INT 10 - UNCHAIN - UPDATE PAGE 3 OFFSET
  6314.     AX = CB03h
  6315.     BX = offset of page 3
  6316. Desc:    inform UNCHAIN of the location of video page 3 in video memory; the
  6317.       default is 7D00h (32000, for 320x200)
  6318. SeeAlso: AX=CB01h,AX=CB02h,AX=CB04h
  6319. ----------10CB04-----------------------------
  6320. INT 10 - UNCHAIN - UPDATE PAGE 4 OFFSET
  6321.     AX = CB04h
  6322.     BX = offset of page 4
  6323. Desc:    inform UNCHAIN of the location of video page 4 in video memory; the
  6324.       default is BB80h (48000, for 320x200)
  6325. SeeAlso: AX=CB01h,AX=CB02h,AX=CB03h,AX=CB05h
  6326. ----------10CB05-----------------------------
  6327. INT 10 - UNCHAIN - SAVE PALETTE
  6328.     AX = CB05h
  6329. SeeAlso: AX=CB00h,AX=CB06h
  6330. ----------10CB06-----------------------------
  6331. INT 10 - UNCHAIN - RESTORE VGA REGISTERS
  6332.     AX = CB06h
  6333. SeeAlso: AX=CB00h,AX=CB05h,AX=CBFFh
  6334. ----------10CBFF-----------------------------
  6335. INT 10 - UNCHAIN - INSTALLATION CHECK
  6336.     AX = CBFFh
  6337. Return: AX = CCBBh if installed
  6338. Program: UNCHAIN is a TSR by Colin Buckley which permits use of Borland
  6339.       development tools with Mode X video in the absence of a second
  6340.       monitor
  6341. SeeAlso: AX=CB00h,AX=CB01h,AX=CB06h
  6342. --------V-10CC00-----------------------------
  6343. INT 10 - VIDEO - UltraVision - GET STATUS (INSTALLATION CHECK)
  6344.     AX = CC00h
  6345.     SI = magic value 0000h (if checking version)
  6346. Return: CX = product signature
  6347.         ABCDh UltraVision
  6348.         5546h ('UF') UltraFont 
  6349.     AL = Ultravision extensions
  6350.         00h enabled
  6351.         FFh disabled
  6352.     AH = card designator
  6353.     BX:00F0h -> palette values (for compatibility with NEWFONT)
  6354.     DX = support for high resolution modes
  6355.         00h not active
  6356.         01h active
  6357.     SI = UltraVision version number (v1.2+), high byte=major,low byte=minor
  6358.         unchanged for versions <1.2
  6359. Note:    UltraFont is a simplified version of UltraVision for Toshiba;
  6360.       only the signature in CX and the status in AL will be returned
  6361. SeeAlso: AX=CC01h,AX=CC02h
  6362. --------V-10CC01-----------------------------
  6363. INT 10 - VIDEO - UltraVision - DISABLE EXTENSIONS
  6364.     AX = CC01h
  6365. Notes:    subsequent BIOS calls will be passed through to previous handler
  6366.     should be followed immediately by mode set to restore normal EGA/VGA
  6367.       state
  6368. SeeAlso: AX=CC02h
  6369. --------V-10CC02-----------------------------
  6370. INT 10 - VIDEO - UltraVision - ENABLE EXTENSIONS
  6371.     AX = CC02h
  6372. Note:    should be followed immediately by mode set to restore previous
  6373.       UltraVision state
  6374. SeeAlso: AX=CC01h
  6375. --------V-10CD00-----------------------------
  6376. INT 10 - VIDEO - UltraVision - LOAD ULTRAVISION PALETTE (color EGA,VGA)
  6377.     AX = CD00h
  6378.     CL = palette table number (01h-07h for v1.x, 01h-0Fh for v2+)
  6379.     DS:DX -> 16-byte palette register list (colors for registers 00h-0Fh)
  6380. Notes:    if palette locking is in effect for the current mode, the new colors
  6381.       will be displayed immediately; otherwise, the system reverts to the
  6382.       default palette
  6383.     palette table 0 is reserved for the default palette and cannot be set
  6384.     UltraVision always sets the border color to black
  6385. SeeAlso: AX=CD01h,AX=CD02h
  6386. --------V-10CD01-----------------------------
  6387. INT 10 - VIDEO - UltraVision - SET PALETTE LOCKING STATUS (color EGA,VGA)
  6388.     AX = CD01h
  6389.     CL = palette locking value
  6390.         00h none
  6391.         01h text modes only (02h,03h)
  6392.         FFh all modes (all standard color text and graphics modes)
  6393. Notes:    intended for video modes with 16 or fewer colors
  6394. SeeAlso: AX=1000h,AX=1002h,AX=CD00h,AX=CD03h
  6395. --------V-10CD02-----------------------------
  6396. INT 10 - VIDEO - UltraVision - GET ULTRAVISION PALETTE (EGA,VGA)
  6397.     AX = CD02h
  6398. Return: CL = palette table number
  6399.     DS:DX -> 17-byte palette register list (see #0124)
  6400.     DS:SI -> current font names table (see #0125,#0126)
  6401. Note:    only the font names are valid on monochrome EGA systems
  6402. SeeAlso: AX=1009h,AX=CD00h
  6403.  
  6404. Format of UltraVision palette register list:
  6405. Offset    Size    Description    (Table 0124)
  6406.  00h 16 BYTEs    colors for palette registers 00h through 0Fh
  6407.  10h    BYTE    border color
  6408.  
  6409. Format of UltraVision v2+ current font names table:
  6410. Offset    Size    standard EGA    HiRes EGA    VGA    (Table 0125)
  6411.  00h  8 BYTEs    N/A        F19 font    F20 font
  6412.  08h  8 BYTEs    F14 font    F14 font    F14 font
  6413.  10h  8 BYTEs    N/A        F11 font    F10 font
  6414.  18h  8 BYTEs    F8 font        F8 font        F8 font
  6415.  
  6416. Format of UltraVision v1.x current font names table:
  6417. Offset    Size    HiRes EGA    (Table 0126)
  6418.  00h  8 BYTEs    F19/F14 font
  6419.  08h  8 BYTEs    F11/F8 font
  6420. --------V-10CD03-----------------------------
  6421. INT 10 - VIDEO - UltraVision - GET PALETTE LOCKING STATUS (color EGA,VGA)
  6422.     AX = CD03h
  6423. Return: CL = palette locking value
  6424.         00h none
  6425.         01h text modes only
  6426.         FFh all modes
  6427. SeeAlso: AX=CD01h
  6428. --------V-10CD04-----------------------------
  6429. INT 10 - VIDEO - UltraVision - GET UltraVision TEXT MODE (EGA,VGA)
  6430.     AX = CD04h
  6431. Return: AL = mode number (see #0127)
  6432. SeeAlso: AH=0Fh,AX=CC00h,AH=CDh
  6433.  
  6434. (Table 0127)
  6435. Values for UltraVision video mode number:
  6436.  11h    80x25
  6437.  12h    80x43, 80x50
  6438.  13h    80x34, 80x36
  6439.  14h    80x60, 80x63
  6440.  19h    94x25
  6441.  1Ah    94x43, 94x50
  6442.  1Bh    94x36
  6443.  1Ch    94x63
  6444.  21h    108x25
  6445.  22h    108x43, 108x50
  6446.  23h    107x34, 108x36
  6447.  24h    108x60, 108x63
  6448.  31h    120x25
  6449.  32h    120x43, 120x50
  6450.  33h    132x25
  6451.  34h    132x44, 132x50
  6452.  39h    120x36
  6453.  3Ah    120x63
  6454.  3Bh    132x36
  6455.  3Ch    132x60
  6456. Index:    video modes;UltraVision
  6457. --------V-10CD05-----------------------------
  6458. INT 10 - VIDEO - UltraVision - SET CURSOR TYPE (EGA,VGA)
  6459.     AX = CD05h
  6460.     CL = type
  6461.         00h line cursor
  6462.         FFh box cursor
  6463. Note:    sets default cursor type for text-based programs
  6464. SeeAlso: AH=01h,AX=CD06h
  6465. --------V-10CD06-----------------------------
  6466. INT 10 - VIDEO - UltraVision - GET CURSOR TYPE (EGA,VGA)
  6467.     AX = CD06h
  6468. Return: CL = type
  6469.         00h line cursor
  6470.         FFh box cursor
  6471. SeeAlso: AH=03h,AX=CD05h
  6472. --------V-10CD07-----------------------------
  6473. INT 10 - VIDEO - UltraVision v1.2+ - SET UNDERLINE STATUS (EGA,VGA)
  6474.     AX = CD07h
  6475.     CL = hardware underline status (see #0128)
  6476.     BL = foreground color for normal text (FFh = current)
  6477.     BH = foreground color for bright text (FFh = current)
  6478. Return: CL = hardware underline status
  6479.     BL = current foreground color for normal text
  6480.     BH = current foreground color for bright text
  6481. Notes:    when underline or strikeout is enabled in color text modes, the
  6482.       specified colors will be assigned temporarily to colors 01h and 09h,
  6483.       allowing affected text to match non-underlined text.    The color
  6484.       remapping uses values from the current onscreen palette regardless
  6485.       of the palette locking status (see AX=CD01h)
  6486.     specify the standard colors (BL=01h,BH=09h) to enable underline or
  6487.       strikeout without color remapping
  6488. SeeAlso: AX=CD08h
  6489.  
  6490. (Table 0128)
  6491. Values for hardware underline status:
  6492.  00h    off (color systems only)
  6493.  01h    underline below characters
  6494.  02h    strike through characters
  6495. --------V-10CD08-----------------------------
  6496. INT 10 - VIDEO - UltraVision v1.2+ - GET UNDERLINE STATUS (EGA,VGA)
  6497.     AX = CD08h
  6498. Return: CL = hardware underline status (see #0128)
  6499.     BL = foreground color for normal text
  6500.     BH = foreground color for bright text
  6501. Note:    only CL is valid on monochrome EGA systems
  6502. SeeAlso: AX=CD07h
  6503. --------V-10CD10-----------------------------
  6504. INT 10 - VIDEO - UltraVision - LOAD USER FONT (EGA,VGA)
  6505.     AX = CD10h
  6506.     BH = bytes per character (08h,0Ah,0Bh,0Eh,13h,14h)
  6507.     CX = ABCDh load 9xN alternate font (v2+)
  6508.        else number of characters to load
  6509.         DX = character offset into font table
  6510.         DS:SI -> 8-byte ASCII font name
  6511.     ES:BP -> font definitions
  6512. Return: AX = FFFFh if invalid font parameters
  6513. Notes:    loads the designated characters into UltraVision's resident font area
  6514.     should be followed by a video mode set to reload character generator
  6515. SeeAlso: AX=1100h
  6516. --------V-10CD-------------------------------
  6517. INT 10 - VIDEO - UltraVision - SET ULTRAVISION TEXT MODE (EGA,VGA)
  6518.     AH = CDh
  6519.     AL = text mode number (see #0127)
  6520. Return: AX = CDCDh if invalid mode
  6521. SeeAlso: AX=CD04h
  6522. --------A-10D0-------------------------------
  6523. INT 10 - CU Writer v1.4 - LOAD PICTURE
  6524.     AH = D0h
  6525.     ???
  6526. Return: ???
  6527. SeeAlso: AH=B0h"CU Writer",AH=C4h
  6528. --------V-10D0-------------------------------
  6529. INT 10 U VIDEO - HP 100LX/200LX - SET ZOOM MODE
  6530.     AH = D0h
  6531.     AL = zoom mode
  6532.         02h 80x25 mono
  6533.         03h 80x25 color
  6534.         80h 64x18 mono
  6535.         81h 64x18 color
  6536.         82h 40x25 mono
  6537.         83h 40x25 color
  6538.         84h 40x16 mono
  6539.         85h 40x16 color
  6540. Note:    zoom mode can only be changed within zoom modes of the same color
  6541.       scheme; if needed, set to mono/color with AH=00h,AL=02h/03h; with
  6542.       mono video modes AL=07h or AL=21h only 80x25 and 40x16 will work
  6543.     the current zoom mode is stored in the BIOS data area at 0040h:009Fh
  6544. SeeAlso: AH=D1h,AH=D4h
  6545. --------V-10D1-------------------------------
  6546. INT 10 U VIDEO - HP 100LX/200LX - INTERNAL - ???
  6547.     AH = D1h
  6548.     AL = 01h
  6549. Return: ???
  6550. Note:    called by AH=D0h
  6551. SeeAlso: AH=D0h,AH=D4h
  6552. --------V-10D4-------------------------------
  6553. INT 10 U VIDEO - HP 100LX/200LX - INTERNAL - ???
  6554.     AH = D4h
  6555.     AL = 29h
  6556. Return: ???
  6557. Note:    called by AH=D0h
  6558. SeeAlso: AH=D0h,AH=D1h
  6559. --------V-10D5-------------------------------
  6560. INT 10 - Netroom SCRNCLK - ???
  6561.     AH = D5h
  6562.     ???
  6563. Return: ???
  6564. Program: SCRNCLK is a "cloaked" screen accelerator included with Netroom
  6565. --------V-10DFA5-----------------------------
  6566. INT 10 U - VIDEO - Compaq ADAPT.COM - GET ??? DATA AREA
  6567.     AX = DFA5h
  6568. Return: AX = BDBFh if supported
  6569.         ES:DI -> ??? data area
  6570.         BX = ES
  6571. SeeAlso: AX=BFA0h
  6572. --------V-10EF-------------------------------
  6573. INT 10 - VIDEO - MSHERC.COM - GET VIDEO ADAPTER TYPE AND MODE
  6574.     AH = EFh
  6575. Return: DL = video adapter type
  6576.         00h original Hercules
  6577.         01h Hercules Plus
  6578.         02h Hercules InColor???
  6579.     DH = memory mode byte
  6580.         01h "half" mode
  6581.         03h "full" mode
  6582. Program: MSHERC.COM is a support program for the Microsoft Quick languages
  6583.       which makes their graphics libraries compatible with a Hercules card
  6584.       by adding video modes 08h and 88h, and supporting text in the new
  6585.       graphics modes.
  6586. Notes:    while in mode 08h or 88h, INT 10 supports the Hercules card much like
  6587.       a CGA.
  6588.     MSHERC performs an installation check by setting DL=FFh and testing
  6589.       whether it has been changed on return
  6590.     reportedly returns DH=00h on some not-entirely-Hercules-compatible
  6591.       cards
  6592. Index:    installation check;MSHERC
  6593. --------V-10F0-------------------------------
  6594. INT 10 - EGA Register Interface Library - READ ONE REGISTER
  6595.     AH = F0h
  6596.     BL = register number
  6597.     BH = 00h
  6598.     DX = group index (see #0129)
  6599. Return: BL = data
  6600. Note:    the RIL is provided by EGA.SYS, the Microsoft Mouse driver, the OS/2
  6601.       compatibility box, and others
  6602. SeeAlso: AH=F1h,AH=F2h,INT 2F/AX=BC00h
  6603.  
  6604. (Table 0129)
  6605. Values for group index:
  6606.  Pointer/data chips
  6607.  00h    CRT Controller (25 reg) 3B4h mono modes, 3D4h color modes
  6608.  08h    Sequencer (5 registers) 3C4h
  6609.  10h    Graphics Controller (9 registers) 3CEh
  6610.  18h    Attribute Controller (20 registers) 3C0h
  6611.  Single registers
  6612.  20h    Miscellaneous Output register 3C2h
  6613.  28h    Feature Control register (3BAh mono modes, 3DAh color modes)
  6614.  30h    Graphics 1 Position register 3CCh
  6615.  38h    Graphics 2 Position register 3CAh
  6616. --------V-10F1-------------------------------
  6617. INT 10 - EGA Register Interface Library - WRITE ONE REGISTER
  6618.     AH = F1h
  6619.     DX = group index (see #0129)
  6620.         if single register:
  6621.         BL = value to write
  6622.         otherwise
  6623.         BL = register number
  6624.         BH = value to write
  6625. Return: BL = data
  6626. Note:    the RIL is provided by EGA.SYS, the Microsoft Mouse driver, the OS/2
  6627.       compatibility box, and others
  6628. SeeAlso: AX=7F05h,AH=F0h,AH=F3h
  6629. --------V-10F2-------------------------------
  6630. INT 10 - EGA Register Interface Library - READ REGISTER RANGE
  6631.     AH = F2h
  6632.     CH = starting register number
  6633.     CL = number of registers (>1)
  6634.     DX = group index (00h,08h,10h,18h) (see #0129)
  6635.     ES:BX -> buffer, CL bytes
  6636. Note:    the RIL is provided by EGA.SYS, the Microsoft Mouse driver, the OS/2
  6637.       compatibility box, and others
  6638. SeeAlso: AH=F0h,AH=F3h
  6639. --------V-10F3-------------------------------
  6640. INT 10 - EGA Register Interface Library - WRITE REGISTER RANGE
  6641.     AH = F3h
  6642.     CH = starting register
  6643.     CL = number of registers (>1)
  6644.     DX = group index (00h,08h,10h,18h) (see #0129)
  6645.     ES:BX -> buffer, CL bytes
  6646. Note:    the RIL is provided by EGA.SYS, the Microsoft Mouse driver, the OS/2
  6647.       compatibility box, and others
  6648. SeeAlso: AX=7F05h,AH=F1h,AH=F2h
  6649. --------V-10F4-------------------------------
  6650. INT 10 - EGA Register Interface Library - READ REGISTER SET
  6651.     AH = F4h
  6652.     CX = number of registers to read (>1)
  6653.     ES:BX -> table of register records (see #0130)
  6654. Return: register values in table filled in
  6655. Note:    the RIL is provided by EGA.SYS, the Microsoft Mouse driver, the OS/2
  6656.       compatibility box, and others
  6657. SeeAlso: AH=F0h,AH=F2h,AH=F5h
  6658.  
  6659. Format of EGA RIL entries in table of register records:
  6660. Offset    Size    Description    (Table 0130)
  6661.  00h    WORD    group index
  6662.         Pointer/data chips
  6663.            00h CRTC (3B4h mono modes, 3D4h color modes)
  6664.            08h Sequencer 3C4h
  6665.            10h Graphics Controller 3CEh
  6666.            18h Attribute Controller 3C0h
  6667.         Single registers
  6668.            20h Miscellaneous Output register 3C2h
  6669.            28h Feature Control register (3BAh mono modes, 3DAh color)
  6670.            30h Graphics 1 Position register 3CCh
  6671.            38h Graphics 2 Position register 3CAh
  6672.  02h    BYTE    register number (0 for single registers)
  6673.  03h    BYTE    register value
  6674. --------V-10F5-------------------------------
  6675. INT 10 - EGA Register Interface Library - WRITE REGISTER SET
  6676.     AH = F5h
  6677.     CX = number of registers to write (>1)
  6678.     ES:BX -> table of records (see #0130)
  6679. Note:    the RIL is provided by EGA.SYS, the Microsoft Mouse driver, the OS/2
  6680.       compatibility box, and others
  6681. SeeAlso: AX=7F05h,AH=F1h,AH=F3h,AH=F4h
  6682. --------V-10F6-------------------------------
  6683. INT 10 - EGA Register Interface Library - REVERT TO DEFAULT REGISTERS
  6684.     AH = F6h
  6685. Note:    provided by the Microsoft Mouse driver, OS/2 compatibility box, and
  6686.       others
  6687. SeeAlso: AH=F7h
  6688. --------V-10F7-------------------------------
  6689. INT 10 - EGA Register Interface Library - DEFINE DEFAULT REGISTER TABLE
  6690.     AH = F7h
  6691.     DX = port number
  6692.        Pointer/data chips
  6693.           00h CRTC (3B4h mono modes, 3D4h color modes)
  6694.           08h Sequencer 3C4h
  6695.           10h Graphics Controller 3CEh
  6696.           18h Attribute Controller 3C0h
  6697.        Single registers
  6698.           20h Miscellaneous Output register 3C2h
  6699.           28h Feature Control register (3BAh mono modes, 3DAh color modes)
  6700.           30h Graphics 1 Position register 3CCh
  6701.           38h Graphics 2 Position register 3CAh
  6702.     ES:BX -> table of one-byte entries, one byte to be written to each
  6703.          register
  6704. Note:    the RIL is provided by EGA.SYS, the Microsoft Mouse driver, the OS/2
  6705.       compatibility box, and others
  6706. SeeAlso: AH=F6h
  6707. --------V-10FA--BX0000-----------------------
  6708. INT 10 - EGA Register Interface Library - INTERROGATE DRIVER
  6709.     AH = FAh
  6710.     BX = 0000h
  6711. Return: BX = 0000h if RIL driver not present
  6712.     ES:BX -> EGA Register Interface version number, if present:
  6713.         byte 0 = major release number
  6714.         byte 1 = minor release number
  6715. Note:    the RIL is provided by EGA.SYS, the Microsoft Mouse driver, the OS/2
  6716.       compatibility box, and others
  6717. SeeAlso: AH=F6h,INT 2F/AX=BC00h
  6718. --------K-10FA-------------------------------
  6719. INT 10 - FASTBUFF.COM - INSTALLATION CHECK
  6720.     AH = FAh
  6721. Return: AX = 00FAh if installed
  6722.         ES = segment of resident code
  6723. Program: FASTBUFF.COM is a keyboard speedup/screen blanking utility by David
  6724.       Steiner
  6725. Index:    screen saver;FASTBUFF
  6726. --------V-10FE-------------------------------
  6727. INT 10 - TopView - GET SHADOW BUFFER
  6728.     AH = FEh
  6729.     ES:DI -> assumed video buffer
  6730.         B800h:0000h color text/CGA graphics, B000h:0000h mono text,
  6731.           or A000h:0000h EGA/VGA graphics (RSIS environments only)
  6732. Return: ES:DI -> actual video buffer for calling process
  6733. Desc:    Determine the address of the virtual screen to which the program
  6734.       should write instead of the actual video memory; this permits
  6735.       programs to be multitasked without interfering with each other's
  6736.       output, and allows memory managers to move the video memory to
  6737.       permit larger programs to be loaded.
  6738. Notes:    if no multitasker or RSIS-compliant environment is installed, ES:DI is
  6739.       returned unchanged; RSIS is the Relocated Screen Interface
  6740.       Specification
  6741.     for display pages other than 0, use AH=05h and AH=0Fh to determine
  6742.       whether a particular page exists
  6743.     TopView requires a call to AH=FFh to notify it that the screen has
  6744.       changed; DESQview will check for changes itself until the first call
  6745.       to AH=FFh
  6746. SeeAlso: AH=05h,AX=5201h,AH=FFh,INT 15/AX=1024h,INT 21/AH=2Bh"DESQview"
  6747. SeeAlso: INT 21/AH=ECh"DoubleDOS"
  6748. --------V-10FF-------------------------------
  6749. INT 10 - TopView - UPDATE SCREEN FROM SHADOW BUFFER
  6750.     AH = FFh
  6751.     CX = number of consecutive changed characters
  6752.     ES:DI -> first changed character in shadow buffer
  6753. Notes:    avoid CX=0000h
  6754.     DESQview will discontinue the automatic screen updating initiated by
  6755.       AH=FEh after this call
  6756.     not supported (ignored) by DESQview/X 1.0x
  6757. SeeAlso: AH=93h,AH=FEh
  6758. --------E-10FF-------------------------------
  6759. INT 10 - DJ GO32.EXE 80386+ DOS extender - VIDEO EXTENSIONS
  6760.     AH = FFh
  6761.     AL = video mode (see #0131)
  6762. Program: GO32.EXE is a DOS extender included as part of the 80386 port of the
  6763.       GNU C/C++ compiler by DJ Delorie and distributed as DJGPP
  6764. SeeAlso: AH=00h,INT 21/AH=FFh"GO32"
  6765.  
  6766. (Table 0131)
  6767. Values for GO32 video mode number:
  6768.  00h    80x25 text
  6769.  01h    default text
  6770.  02h    CXxDX text
  6771.  03h    biggest text
  6772.  04h    320x200 graphics
  6773.  05h    default graphics
  6774.  06h    CXxDX graphics
  6775.  07h    biggest non-interlaced graphics
  6776.  08h    biggest graphics
  6777. Index:    video modes;GO32
  6778. --------V-10FF-------------------------------
  6779. INT 10 - VIDEO - Oak VGA BIOS v1.02+ - SET EMULATION
  6780.     AH = FFh
  6781.     AL = emulation
  6782.         43h ('C') CGA emulation
  6783.         45h ('E') EGA emulation
  6784.         4Dh ('M') Hercules emulation
  6785.         56h ('V') VGA emulation
  6786.     ES:DI -> signature string "Calamity"
  6787. Return: VGA switched to suggested mode
  6788. SeeAlso: AH=00h,AX=007Fh,AX=5F01h
  6789. --------R-10FF00-----------------------------
  6790. INT 10 - CARBON COPY PLUS v5.0 - CHECK IF CC CONNECTED TO CCHELP
  6791.     AX = FF00h
  6792. Return: BL = state
  6793.         00h not connected
  6794.         01h connected
  6795. SeeAlso: AX=FF01h,AX=FF02h
  6796. --------R-10FF01-----------------------------
  6797. INT 10 - CARBON COPY PLUS v5.0 - DISCONNECT AND RESET LINE
  6798.     AX = FF01h
  6799. SeeAlso: AX=FF00h,AX=FF02h
  6800. --------R-10FF02-----------------------------
  6801. INT 10 - CARBON COPY PLUS v5.0 - GET LAST PHONE NUMBER DIALED
  6802.     AX = FF02h
  6803. Return: ES:DI -> ASCIZ phone number
  6804. SeeAlso: AX=FF00h,AX=FF01h
  6805. --------C-11---------------------------------
  6806. INT 11 - CPU-generated (80486+) - ALIGNMENT CHECK
  6807. Desc:    automatically generated by the CPU when the AC flag is set, the current
  6808.       privilege level is 3, and a misaligned memory access (WORD not on an
  6809.       even address or DWORD not on a multiple of 4) is made
  6810. Note:    not all V86 monitors allow the AC flag to be set, such as Turbo
  6811.       Debugger 386
  6812. --------B-11---------------------------------
  6813. INT 11 - BIOS - GET EQUIPMENT LIST
  6814. Return: (E)AX = BIOS equipment list word (see #0132)
  6815. Note:    since older BIOSes do not know of the existence of EAX, the high word
  6816.       of EAX should be cleared before this call if any of the high bits
  6817.       will be tested
  6818.  
  6819. Bitfields for BIOS equipment list:
  6820. Bit(s)    Description    (Table 0132)
  6821.  0    floppy disk(s) installed (see 6-7)
  6822.  1    80x87 coprocessor installed
  6823.  3-2    number of 16K banks of RAM on motherboard (PC only)
  6824.     number of 64K banks of RAM on motherboard (XT only)
  6825.  2    pointing device installed (PS)
  6826.  3    unused (PS)
  6827.  5-4    initial video mode
  6828.     00 EGA, VGA, or PGA
  6829.     01 40x25 color
  6830.     10 80x25 color
  6831.     11 80x25 monochrome
  6832.  7-6    number of floppies installed less 1 (if 0 set)
  6833.  8    DMA support installed (PCjr, Tandy 1400LT)
  6834.     DMA support *not* installed (Tandy 1000's)
  6835.  11-9    number of serial ports installed
  6836.  12    game port installed
  6837.  13    serial printer attached (PCjr)
  6838.     internal modem installed (PC/Convertible)
  6839.  15-14    number of parallel ports installed
  6840. ---Compaq, Dell, and many other 386/486 machines--
  6841.  23    page tables set so that Weitek coprocessor addressable in real mode
  6842.  24    Weitek math coprocessor present
  6843. ---Compaq Systempro---
  6844.  25    internal DMA parallel port available
  6845.  26    IRQ for internal DMA parallel port (if bit 25 set)
  6846.     0 = IRQ5
  6847.     1 = IRQ7
  6848.  28-27    parallel port DMA channel
  6849.     00 DMA channel 0
  6850.     01 DMA channel 0 ???
  6851.     10 reserved
  6852.     11 DMA channel 3
  6853. SeeAlso: INT 12
  6854. --------d-11----SI6A6A-----------------------
  6855. INT 11 - Columbia Data Products Standard Device Level Protocol (SDLP) 1.6
  6856.     SI = 6A6Ah
  6857.     AH = command (see #0133)
  6858.     AL = SCSI Addressing (see #0134)
  6859. Return: CF clear if successful
  6860.         DI = 6A6Ah if AH=01h on entry (maybe for all functions???)
  6861.         AH = ??? for command 01h
  6862.     CF set on error
  6863.         AL = error code
  6864. SeeAlso: INT 21/AX=4402h"ASPI"
  6865.  
  6866. (Table 0133)
  6867. Values for SDLP command:
  6868.  00h    SDLP initialization
  6869.  01h    SDLP System Identify
  6870.  02h    simple read sectors
  6871.  03h    simple write sectors
  6872.  04h    simple verify sectors/seek to sector
  6873.  05h    get device size/type
  6874.  06h    ready unit
  6875.  07h    format unit
  6876.  08h    diagnostics
  6877.  09h    rewind
  6878.  0Ah    erase
  6879.  0Bh    write filemarks
  6880.  0Ch    space
  6881.  0Dh    prevent/allow media removal
  6882.  0Eh    load/unload media
  6883.  0Fh    reserved - returns good status
  6884.  10h    set block size
  6885.  11h    write setmark
  6886.  12h    set error level
  6887.  13h    get address of Request Sense Buffer
  6888.  14h    get SDLP error via Request Sense
  6889.  F0h    Vendor Unique Function (WD7000-FASST2 only)
  6890.  FDh    reset current SCSI HAC
  6891.  FEh    get/set current SCSI HAC
  6892.  FFh    execute SCSI command
  6893.  
  6894. Bitfields for SDLP SCSI addressing:
  6895. Bit(s)    Description    (Table 0134)
  6896.  7-6    Host Adapter
  6897.  5-3    SCSI Target ID
  6898.  2-0    SCSI Target LUN (logical unit number)
  6899. --------V-110225BX6900-----------------------
  6900. INT 11 - Blank-It Screen Blanker - INSTALLATION CHECK
  6901.     AX = 0225h
  6902.     BX = 6900h
  6903. Return: BL = 23h
  6904.     ES:DI -> ASCIZ "BLNKIT"
  6905. Program: Blank-It is a resident screen blanker by Rhode Island Soft Systems,
  6906.       Inc.
  6907. SeeAlso: AX=0225h/BX=6902h,AX=0225h/BX=6908h,AX=0225h/BX=6909h,INT 14/AX=AA01h
  6908. Index:    screen saver;Blank-It
  6909. --------V-110225BX6901-----------------------
  6910. INT 11 - Blank-It Screen Blanker - SET TIMEOUT FOR SCREEN BLANKING
  6911.     AX = 0225h
  6912.     BX = 6901h
  6913.     CX = timeout in timer ticks (18.2/second) or 0000h to disable timeout
  6914.          largest value is 59 minutes (FBACh or 64428)
  6915. Return: CF clear if successful
  6916.         DI = 6A6Ah (possibly also 6A6Ah for all following functions)
  6917.         AH = ???
  6918.     CF set on error
  6919.         AL = error code
  6920. SeeAlso: AX=0225h/BX=6900h,AX=0225h/BX=6904h
  6921. Index:    screen saver;Blank-It
  6922. --------V-110225BX6902-----------------------
  6923. INT 11 - Blank-It Screen Blanker - ENABLE THE SOFTWARE
  6924.     AX = 0225h
  6925.     BX = 6902h
  6926. Return: CF clear if successful
  6927.     CF set on error
  6928.         AL = error code
  6929. SeeAlso: AX=0225h/BX=6900h,AX=0225h/BX=6903h
  6930. Index:    screen saver;Blank-It
  6931. --------V-110225BX6903-----------------------
  6932. INT 11 - Blank-It Screen Blanker - DISABLE THE SOFTWARE
  6933.     AX = 0225h
  6934.     BX = 6903h
  6935. Return: CF clear if successful
  6936.     CF set on error
  6937.         AL = error code
  6938. SeeAlso: AX=0225h/BX=6900h,AX=0225h/BX=6902h
  6939. Index:    screen saver;Blank-It
  6940. --------V-110225BX6904-----------------------
  6941. INT 11 - Blank-It Screen Blanker - GET BLANKING TIMEOUT
  6942.     AX = 0225h
  6943.     BX = 6904h
  6944. Return: CF clear if successful
  6945.         BX = timeout (see BX=6901h)
  6946.     CF set on error
  6947.         AL = error code
  6948. SeeAlso: AX=0225h/BX=6900h,AX=0225h/BX=6901h
  6949. Index:    screen saver;Blank-It
  6950. --------V-110225BX6905-----------------------
  6951. INT 11 - Blank-It Screen Blanker - ENABLE WINDOWS COMPATIBILITY MODE
  6952.     AX = 0225h
  6953.     BX = 6905h
  6954. Return: CF clear if successful
  6955.     CF set on error
  6956.         AL = error code
  6957. SeeAlso: AX=0225h/BX=6900h,AX=0225h/BX=6906h
  6958. Index:    screen saver;Blank-It
  6959. --------V-110225BX6906-----------------------
  6960. INT 11 - Blank-It Screen Blanker - DISABLE WINDOWS COMPATIBILITY MODE
  6961.     AX = 0225h
  6962.     BX = 6906h
  6963. Return: CF clear if successful
  6964.     CF set on error
  6965.         AL = error code
  6966. Program: Blank-It is a resident screen blanker by Rhode Island Soft Systems,
  6967.       Inc.
  6968. SeeAlso: AX=0225h/BX=6900h,AX=0225h/BX=6905h
  6969. Index:    screen saver;Blank-It
  6970. --------V-110225BX6907-----------------------
  6971. INT 11 - Blank-It Screen Blanker - UNBLANK THE SCREEN
  6972.     AX = 0225h
  6973.     BX = 6907h
  6974. Return: CF clear if successful
  6975.     CF set on error
  6976.         AL = error code
  6977. SeeAlso: AX=0225h/BX=6900h,AX=0225h/BX=6908h
  6978. Index:    screen saver;Blank-It
  6979. --------V-110225BX6908-----------------------
  6980. INT 11 - Blank-It Screen Blanker - BLANK THE SCREEN
  6981.     AX = 0225h
  6982.     BX = 6908h
  6983. Return: CF clear if successful
  6984.     CF set on error
  6985.         AL = error code
  6986. SeeAlso: AX=0225h/BX=6900h,AX=0225h/BX=6907h
  6987. Index:    screen saver;Blank-It
  6988. --------V-110225BX6909-----------------------
  6989. INT 11 - Blank-It Screen Blanker - SET HOTKEY FOR MANUAL BLANKING
  6990.     AX = 0225h
  6991.     BX = 6909h
  6992.     CL = key scan code (see #0135)
  6993. Return: CF clear if successful
  6994.     CF set on error
  6995.         AL = error code
  6996. Program: Blank-It is a resident screen blanker by Rhode Island Soft Systems,
  6997.       Inc.
  6998. SeeAlso: AX=0225h/BX=6900h
  6999. Index:    screen saver;Blank-It|hotkeys;Blank-It
  7000.  
  7001. (Table 0135)
  7002. Values for Blank-It hotkey scan code:
  7003.  00h    No hot key
  7004.  1Dh    Left CTRL
  7005.  2Ah    Left Shift
  7006.  36h    Right Shift
  7007.  57h    F11
  7008.  58h    F12
  7009. ----------1105D7-----------------------------
  7010. INT 11 CU - Borland C++ IDE - INSTALLED CALLOUT
  7011.     AX = 05D7h
  7012.     BX = product ID (0088h)
  7013. Note:    called by the BC++ IDE when an application calls
  7014.       INT 12/AX=05D7h/BX=05D7h
  7015. SeeAlso: INT 12/AX=05D7h/BX=05D7h
  7016. Index:    installation check;Borland C++ IDE
  7017. --------F-1177-------------------------------
  7018. INT 11 - RainbowFAX v1.3 - SFENGINE API - OPERATIONAL CONTROL
  7019.     AH = 77h
  7020.     AL = subfunction
  7021.         01h request SFENGINE start
  7022.         Return: AX = 0001h
  7023.         02h check if SFENGINE started
  7024.         Return: AX = 0000h or 0001h
  7025.         03h request SFENGINE stop
  7026.         Return: AX = 0001h
  7027.         04h check if SFENGINE stopped
  7028.         Return: AX = 0000h or 0001h
  7029.         05h installation check
  7030.         Return: AX = 0001h
  7031.         06h uninstall???
  7032.         BX:DX -> return address for successful uninstall???
  7033.         Return: (at caller's address)
  7034.             AX = 0000h
  7035.         else
  7036.         Return: AX = FFFFh
  7037. Return: ES:DX -> ASCIZ signature string "SFAX ENGINE V1.0"
  7038.         followed by internal data area???
  7039. SeeAlso: AH=78h,AH=79h,AH=7Ah,AH=7Ch
  7040. Index:    installation check;RainbowFAX|installation check;SFENGINE
  7041. Index:    uninstall;RainbowFAX|uninstall;SFENGINE
  7042. --------F-1178-------------------------------
  7043. INT 11 - RainbowFAX v1.3 - SFENGINE API - ???
  7044.     AH = 78h
  7045.     AL = subfunction
  7046.         7801h set ???
  7047.         BX = new state for ???
  7048.             0000h ???
  7049.             else ???
  7050.         Return: AX = 0001h
  7051.         7802h set ???
  7052.         BX = ???
  7053.         CX = ???
  7054.         Return: AX = 0001h
  7055.         7803h set ???
  7056.         BX = new state for ???
  7057.             0000h ???
  7058.             else ???
  7059.         Return: AX = 0001h
  7060.         78XXh invalid subfunction
  7061.         Return: AX = FFFFh
  7062. SeeAlso: AH=77h,AH=79h,AH=7Ah,AH=7Ch
  7063. --------F-1179-------------------------------
  7064. INT 11 - RainbowFAX v1.3 - SFENGINE API - ???
  7065.     AH = 79h
  7066.     AL = subfunction
  7067.         01h set ??? flag
  7068.         Return: AX = previous state (0000h already set, 0001h clear)
  7069.         02h clear ??? flag (see subfunc 01h)
  7070.         Return: AX = 0001h
  7071.         03h set ??? flag (different from subfn 02h or 04h)
  7072.         Return: AX = 0001h
  7073.         04h clear ??? flag (different from subfn 02h or 03h)
  7074.         Return: AX = 0001h
  7075.         else
  7076.         Return: AX = FFFFh
  7077. SeeAlso: AH=77h,AH=78h,AH=7Ah,AH=7Ch
  7078. --------F-117A-------------------------------
  7079. INT 11 - RainbowFAX v1.3 - SFENGINE API - ???
  7080.     AH = 7Ah
  7081.     AL = subfunction
  7082.         01h set ??? flag
  7083.         Return: AX = previous state (0000h already set, 0001h clear)
  7084.         02h clear ??? flag
  7085.         Return: AX = 0001h
  7086.         03h set ??? flag (different from subfn 02h)
  7087.         Return: AX = 0001h
  7088.         else
  7089.         Return: AX = FFFFh
  7090. SeeAlso: AH=77h,AH=78h,AH=79h,AH=7Ch
  7091. --------F-117C-------------------------------
  7092. INT 11 - RainbowFAX v1.3 - SFENGINE API - ???
  7093.     AH = 7Ch
  7094.     AL = subfunction
  7095.         01h set ??? flag (see also subfn 02h)
  7096.         Return: AX = 0001h
  7097.         02h clear ??? flag (see also subfn 01h)
  7098.         Return: AX = 0001h
  7099.         else
  7100.         Return: AX = FFFFh
  7101. SeeAlso: AH=77h,AH=78h,AH=79h,AH=7Ah
  7102. --------S-11BC--DX1954-----------------------
  7103. INT 11 - BNU FOSSIL - INSTALLATION CHECK
  7104.     AH = BCh
  7105.     DX = 1954h
  7106. Return: AX = 1954h
  7107.     ES:DX -> entry point of driver (instead of INT 14)
  7108. SeeAlso: INT 14/AH=04h"FOSSIL"
  7109. --------d-11FF--SI6A6A-----------------------
  7110. INT 11 - WD7000 SDLP interface - EXECUTE GENERIC SCSI COMMAND
  7111.     AH = FFh
  7112.     SI = 6A6Ah
  7113.     AL = SCSI Addressing (see #0136)
  7114.     CX = bytes of data to be transmitted (max FFF0h)
  7115.     DH = 00h
  7116.     DL = length of SCSI Command Descriptor Block
  7117.     DS:DI -> SCSI Command Descriptor Block
  7118.     ES:BX -> data buffer
  7119. Return: CF set on error
  7120.         AL = error code
  7121.     CF clear if successful
  7122. Note:    because of busmaster operations with WD7000FASST avoid accessing
  7123.       video memory directly; check 386 memory manager for VDS support.
  7124.       The WD7000XTAT works with programmed IO and does not have this
  7125.       limitation.
  7126. SeeAlso: INT 21/AX=4402h"ASPI",INT 2F/AX=7F01h
  7127.  
  7128. Bitfields for SDLP SCSI addressing:
  7129. Bit(s)    Description    (Table 0136)
  7130.  2-0    SCSI Target LUN (logical unit number)
  7131.  5-3    SCSI Target ID
  7132.  7    write flag, set for write operations, clear otherwise
  7133. --------T-11FFFECXFFFE-----------------------
  7134. INT 11 - BACK&FORTH (before v1.62) API
  7135.     AX = FFFEh
  7136.     CX = FFFEh
  7137.     BX = function
  7138.         00h installation check
  7139.         Return: AX = installation state
  7140.                 0001h BNFHIGH and BNFLOW both loaded
  7141.                 0003h only BNFHIGH loaded
  7142.                 else neither loaded
  7143.         01h ???
  7144.         Return: DX:AX -> ???
  7145.         02h ???
  7146.         03h ???
  7147.         04h ???
  7148.         05h ??? switches current PSP segment and stack if BNFLOW has not
  7149.             yet announced itself installed
  7150.         06h ???
  7151.         Return: AX = ???
  7152. SeeAlso: INT 12/AX=FFFEh
  7153. Index:    installation check;BACK&FORTH
  7154. --------B-12---------------------------------
  7155. INT 12 - BIOS - GET MEMORY SIZE
  7156. Return: AX = kilobytes of contiguous memory starting at absolute address 00000h
  7157. Note:    this call returns the contents of the word at 0040h:0013h; in PC and
  7158.       XT, this value is set from the switches on the motherboard
  7159. SeeAlso: INT 11,INT 2F/AX=4A06h
  7160. --------K-12----CX1806-----------------------
  7161. INT 12 - KEYBUI v2.0+ - INSTALLATION CHECK
  7162.     CX = 1806h
  7163. Return: AX = kilobytes of contiguous memory starting at absolute address 00000h
  7164.     CX = 1960h if installed
  7165. Program: KEYBUI is a resident keyboard driver by Johan Zwiekhorst which allows
  7166.       accented characters and box drawing on standard QWERTY keyboards; it
  7167.       also provides break-to-DOS and screen blanking capabilities
  7168. SeeAlso: INT 14/AX=AA01h
  7169. Index:    screen saver;KEYBUI
  7170. --------d-12----CX1807-----------------------
  7171. INT 12 - PARKER v2.0+ - INSTALLATION CHECK
  7172.     CX = 1807h
  7173. Return: AX = kilobytes of contiguous memory starting at absolute address 00000h
  7174.     CX = 1961h if installed
  7175. Program: PARKER is an optionally-resident hard disk parking program by Johan
  7176.       Zwiekhorst
  7177. ----------1205D7BX05D7-----------------------
  7178. INT 12 U - Borland C++ IDE - INSTALLATION CHECK
  7179.     AX = 05D7h (1495d)
  7180.     BX = 05D7h
  7181. Note:    the BC++ IDE will call INT 11/AX=05D7h/BX=0088h if it is loaded
  7182. SeeAlso: INT 11/AX=05D7h/BX=0088h
  7183. ----------124350BX4920-----------------------
  7184. INT 12 C - CPI-standard virus - "FRIEND" CHECK
  7185.     AX = 4350h
  7186.     BX = 4920h
  7187.     CX = AB46h
  7188.     DX = 554Eh
  7189. Return: if friendly (not to be infected)
  7190.         CX:DX -> ASCIZ identity code (changes yearly)
  7191. SeeAlso: AX=EC00h"VIRUS",INT 21/AX=0B56h
  7192. --------T-12FFFECXFFFE-----------------------
  7193. INT 12 - Back&Forth v1.62+ - API
  7194.     AX = FFFEh
  7195.     CX = FFFEh
  7196.     BX = function
  7197.         00h installation check
  7198.         Return: AX = 0001h installed
  7199.                  else  not loaded
  7200.         01h (reserved)
  7201.         02h build program ID list (shareware Back&Forth)
  7202.         ES:DI -> buffer of at least 100 bytes, to be filled with words
  7203.         Return: AX = number of programs defined
  7204.             ES:DI buffer filled with AX words
  7205.         02h get memory statistics (Back&Forth Professional)
  7206.         Return: AX = available swap memory, KBytes
  7207.             BX = maximum task size, KBytes
  7208.             DX = fixed overhead per task, excluding video/macro
  7209.                   storage
  7210.         03h switch to specified task (task need not be open yet)
  7211.         DX = two-letter program ID
  7212.         Return: AX = status
  7213.                 0000h if task undefined
  7214.                 0001h task switch will occur when safe
  7215.         04h (reserved)
  7216.         05h (reserved)
  7217.         06h get version (documented only for Back&Forth Professional)
  7218.         Return: AX = version * 100 (v1.71 = 00ABh)
  7219.         07h spawn program (Back&Forth Professional only???)
  7220.         ES:DI -> BF_SPAWN record (see #0138)
  7221.         Return: AX = status
  7222.                 0000h if no task handles free
  7223.                 0001h spawn will occur when safe
  7224.         08h get open tasks (documented only for Back&Forth Professional)
  7225.         ES:DI -> task info buffer (see #0137,#0139)
  7226.         Return: AX = number of open tasks (max 20)
  7227.         Note:    the supplied buffer must be large enough to hold 21
  7228.               task entries
  7229.         09h (reserved)
  7230.         ---Back&Forth Professional---
  7231.         0Ah get active clipboard filename
  7232.         Return: DX:AX -> ASCIZ clipboard filename
  7233.         0Bh get active task number
  7234.         AX = active task number (00h-13h)
  7235.         BX = number of tasks allocated
  7236.         DX = maximum number of tasks
  7237.         0Ch (reserved)
  7238.         0Dh (reserved)
  7239.         0Eh (reserved)
  7240.         0Fh stuff string into keyboard buffer
  7241.         ES:DI -> ASCIZ string to be stuffed
  7242.         Return: nothing
  7243.         10h check if in graphics mode
  7244.         Return: AX = state
  7245.                 0000h color text mode
  7246.                 0004h mono text mode
  7247.                 FFFFh graphics mode
  7248.         11h get Back&Forth Professional user number
  7249.         Return: AX = user number (0000h-00FFh)
  7250.         12h switch task by task number
  7251.         DX = task number
  7252.         Return: AX = status
  7253.                 0000h attempted to switch to active task
  7254.                 0001h task switch will occur when safe
  7255.                 FFFFh invalid task number
  7256.         13h delete (kill) task
  7257.         DX = task number
  7258.         Return: AX = status
  7259.                 0000h attempted to delete the active task
  7260.                 0001h successfully deleted
  7261.                 FFFFh invalid task number
  7262.         Note:    the active task number will change if the deleted task
  7263.               was lower in the task list than the active task
  7264.         14h get next available task handle
  7265.         Return:    AX = next available task handle
  7266.                 FFFFh if task table is full
  7267. Program: Back & Forth is a task switcher by Progressive Solutions, Inc.
  7268. SeeAlso: INT 11/AX=FFFEh
  7269. Index:    installation check;BACK&FORTH
  7270.  
  7271. Format of Back&Forth task info buffer:
  7272. Offset    Size    Description    (Table 0137)
  7273.  00h 21 BYTEs    ASCIZ task name
  7274.  15h    BYTE    hotkey shift state (as for INT 16/AH=02h)
  7275.  16h    WORD    hotkey scan code
  7276.  18h    WORD    program ID
  7277. Index:    hotkeys;Back&Forth
  7278. SeeAlso: #0138,#0139
  7279.  
  7280. Format of Back&Forth Professional BF_SPAWN record:
  7281. Offset    Size    Description    (Table 0138)
  7282.  00h 21 BYTEs    task description
  7283.  15h    BYTE    flag: disable hotkeys
  7284.  16h    WORD    environment size in bytes
  7285.  18h    BYTE    hotkey shift flags
  7286.  19h    WORD    hotkey scancode
  7287.  1Bh    WORD    maximum number of EMS pages
  7288.  1Dh    WORD    required memory in KBytes
  7289.  1Fh  3 BYTEs    DESQview-style two-letter program ID
  7290.  22h 13 BYTEs    base name of program to be run (no path or extension)
  7291.  2Fh 66 BYTEs    directory from which to start program
  7292.  71h 66 BYTEs    initial current directory for program
  7293. SeeAlso: #0137,#0139
  7294.  
  7295. Format of Back&Forth Professional BF_TASK record:
  7296. Offset    Size    Description    (Table 0139)
  7297.  00h    DWORD    Unix-style task start time (seconds since 1/1/1970)
  7298.  04h 21 BYTEs    task description
  7299.  19h    DWORD    elapsed time in task (seconds)
  7300.  1Dh    WORD    task ID
  7301.  1Fh    BYTE    task hotkey keyboard flags
  7302.  20h    WORD    task hotkey scan code
  7303.  22h    DWORD    time task was suspended/exited
  7304.  26h    WORD    task handle
  7305. SeeAlso: #0137,#0138
  7306. --------B-1300-------------------------------
  7307. INT 13 - DISK - RESET DISK SYSTEM
  7308.     AH = 00h
  7309.     DL = drive (if bit 7 is set both hard disks and floppy disks reset)
  7310. Return: AH = status (see #0140)
  7311.     CF clear if successful (returned AH=00h)
  7312.     CF set on error
  7313. Note:    forces controller to recalibrate drive heads (seek to track 0)
  7314.     for PS/2 35SX, 35LS, 40SX and L40SX, as well as many other systems,
  7315.       both the master drive and the slave drive respond to the Reset
  7316.       function that is issued to either drive
  7317. SeeAlso: AH=0Dh,AH=11h,INT 21/AH=0Dh,INT 4D/AH=00h"TI Professional"
  7318. --------B-1301-------------------------------
  7319. INT 13 - DISK - GET STATUS OF LAST OPERATION
  7320.     AH = 01h
  7321.     DL = drive (bit 7 set for hard disk)
  7322. Return: CF clear if successful (returned status 00h)
  7323.     CF set on error
  7324.     AH = status of previous operation (see #0140)
  7325. Note:    some BIOSes return the status in AL; the PS/2 Model 30/286 returns the
  7326.       status in both AH and AL
  7327. SeeAlso: AH=00h,INT 4D/AH=01h
  7328.  
  7329. (Table 0140)
  7330. Values for disk operation status:
  7331.  00h    successful completion
  7332.  01h    invalid function in AH or invalid parameter
  7333.  02h    address mark not found
  7334.  03h    disk write-protected
  7335.  04h    sector not found/read error
  7336.  05h    reset failed (hard disk)
  7337.  05h    data did not verify correctly (TI Professional PC)
  7338.  06h    disk changed (floppy)
  7339.  07h    drive parameter activity failed (hard disk)
  7340.  08h    DMA overrun
  7341.  09h    data boundary error (attempted DMA across 64K boundary or >80h sectors)
  7342.  0Ah    bad sector detected (hard disk)
  7343.  0Bh    bad track detected (hard disk)
  7344.  0Ch    unsupported track or invalid media
  7345.  0Dh    invalid number of sectors on format (PS/2 hard disk)
  7346.  0Eh    control data address mark detected (hard disk)
  7347.  0Fh    DMA arbitration level out of range (hard disk)
  7348.  10h    uncorrectable CRC or ECC error on read
  7349.  11h    data ECC corrected (hard disk)
  7350.  20h    controller failure
  7351.  31h    no media in drive (IBM/MS INT 13 extensions)
  7352.  32h    incorrect drive type stored in CMOS (Compaq)
  7353.  40h    seek failed
  7354.  80h    timeout (not ready)
  7355.  AAh    drive not ready (hard disk)
  7356.  B0h    volume not locked in drive (INT 13 extensions)
  7357.  B1h    volume locked in drive (INT 13 extensions)
  7358.  B2h    volume not removable (INT 13 extensions)
  7359.  B3h    volume in use (INT 13 extensions)
  7360.  B4h    lock count exceeded (INT 13 extensions)
  7361.  B5h    valid eject request failed (INT 13 extensions)
  7362.  BBh    undefined error (hard disk)
  7363.  CCh    write fault (hard disk)
  7364.  E0h    status register error (hard disk)
  7365.  FFh    sense operation failed (hard disk)
  7366. --------B-1302-------------------------------
  7367. INT 13 - DISK - READ SECTOR(S) INTO MEMORY
  7368.     AH = 02h
  7369.     AL = number of sectors to read (must be nonzero)
  7370.     CH = low eight bits of cylinder number
  7371.     CL = sector number 1-63 (bits 0-5)
  7372.          high two bits of cylinder (bits 6-7, hard disk only)
  7373.     DH = head number
  7374.     DL = drive number (bit 7 set for hard disk)
  7375.     ES:BX -> data buffer
  7376. Return: CF set on error
  7377.         if AH = 11h (corrected ECC error), AL = burst length
  7378.     CF clear if successful
  7379.     AH = status (see #0140)
  7380.     AL = number of sectors transferred
  7381. Notes:    errors on a floppy may be due to the motor failing to spin up quickly
  7382.       enough; the read should be retried at least three times, resetting
  7383.       the disk with AH=00h between attempts
  7384.     the IBM AT BIOS and many other BIOSes use only the low four bits of
  7385.       DH (head number) since the WD-1003 controller which is the standard
  7386.       AT controller (and the controller that IDE emulates) only supports
  7387.       16 heads
  7388.     AWARD AT BIOS and AMI 386sx BIOS have been extended to handle more
  7389.       than 1024 cylinders by placing bits 10 and 11 of the cylinder number
  7390.       into bits 6 and 7 of DH
  7391. SeeAlso: AH=03h,AH=0Ah,AH=06h"V10DISK.SYS",AH=21h"PS/1",INT 4D/AH=02h
  7392. --------B-1303-------------------------------
  7393. INT 13 - DISK - WRITE DISK SECTOR(S)
  7394.     AH = 03h
  7395.     AL = number of sectors to write (must be nonzero)
  7396.     CH = low eight bits of cylinder number
  7397.     CL = sector number 1-63 (bits 0-5)
  7398.          high two bits of cylinder (bits 6-7, hard disk only)
  7399.     DH = head number
  7400.     DL = drive number (bit 7 set for hard disk)
  7401.     ES:BX -> data buffer
  7402. Return: CF set on error
  7403.     CF clear if successful
  7404.     AH = status (see #0140)
  7405.     AL = number of sectors transferred
  7406. Notes:    errors on a floppy may be due to the motor failing to spin up quickly
  7407.       enough; the write should be retried at least three times, resetting
  7408.       the disk with AH=00h between attempts
  7409.     the IBM AT BIOS and many other BIOSes use only the low four bits of
  7410.       DH (head number) since the WD-1003 controller which is the standard
  7411.       AT controller (and the controller that IDE emulates) only supports
  7412.       16 heads
  7413.     AWARD AT BIOS and AMI 386sx BIOS have been extended to handle more
  7414.       than 1024 cylinders by placing bits 10 and 11 of the cylinder number
  7415.       into bits 6 and 7 of DH
  7416. SeeAlso: AH=02h,AH=0Bh,AH=07h"V10DISK.SYS",AH=22h"PS/1",INT 4D/AH=03h
  7417. --------B-1304-------------------------------
  7418. INT 13 - DISK - VERIFY DISK SECTOR(S)
  7419.     AH = 04h
  7420.     AL = number of sectors to verify (must be nonzero)
  7421.     CH = low eight bits of cylinder number
  7422.     CL = sector number 1-63 (bits 0-5)
  7423.          high two bits of cylinder (bits 6-7, hard disk only)
  7424.     DH = head number
  7425.     DL = drive number (bit 7 set for hard disk)
  7426.     ES:BX -> data buffer (PC,XT,AT with BIOS prior to 11/15/85)
  7427. Return: CF set on error
  7428.     CF clear if successful
  7429.     AH = status (see #0140)
  7430.     AL = number of sectors verified
  7431. Notes:    errors on a floppy may be due to the motor failing to spin up quickly
  7432.       enough; the write should be retried at least three times, resetting
  7433.       the disk with AH=00h between attempts
  7434.     this function does not compare the disk with memory, it merely
  7435.       checks whether the sector's stored CRC matches the data's actual CRC
  7436.     the IBM AT BIOS and many other BIOSes use only the low four bits of
  7437.       DH (head number) since the WD-1003 controller which is the standard
  7438.       AT controller (and the controller that IDE emulates) only supports
  7439.       16 heads
  7440.     AWARD AT BIOS and AMI 386sx BIOS have been extended to handle more
  7441.       than 1024 cylinders by placing bits 10 and 11 of the cylinder number
  7442.       into bits 6 and 7 of DH
  7443. SeeAlso: AH=02h,INT 4D/AH=04h,INT 4D/AH=06h
  7444. --------B-1305-------------------------------
  7445. INT 13 - FLOPPY - FORMAT TRACK
  7446.     AH = 05h
  7447.     AL = number of sectors to format
  7448.     CH = track number
  7449.     DH = head number
  7450.     DL = drive number
  7451.     ES:BX -> address field buffer (see #0141)
  7452. Return: CF set on error
  7453.     CF clear if successful
  7454.     AH = status (see #0140)
  7455. Notes:    on AT or higher, call AH=17h first
  7456.     the number of sectors per track is read from the diskette parameter
  7457.       table pointed at by INT 1E
  7458. SeeAlso: AH=05h"FIXED",AH=17h,AH=18h,INT 1E
  7459.  
  7460. Format of floppy format address field buffer entry (one per sector in track):
  7461. Offset    Size    Description    (Table 0141)
  7462.  00h    BYTE    track number
  7463.  01h    BYTE    head number (0-based)
  7464.  02h    BYTE    sector number
  7465.  03h    BYTE    sector size (00h=128 bytes, 01h=256 bytes, 02h=512, 03h=1024)
  7466. --------B-1305-------------------------------
  7467. INT 13 - FIXED DISK - FORMAT TRACK
  7468.     AH = 05h
  7469.     AL = interleave value (XT-type controllers only)
  7470.     ES:BX -> 512-byte format buffer
  7471.         the first 2*(sectors/track) bytes contain F,N for each sector
  7472.            F = sector type
  7473.             00h for good sector
  7474.             20h to unassign from alternate location
  7475.             40h to assign to alternate location
  7476.             80h for bad sector
  7477.            N = sector number
  7478.     CH = cylinder number (bits 8,9 in high bits of CL)
  7479.     CL = high bits of cylinder number (bits 7,6)
  7480.     DH = head
  7481.     DL = drive
  7482. Return: CF set on error
  7483.     CF clear if successful
  7484.     AH = status code (see #0140)
  7485. Notes:    AWARD AT BIOS and AMI 386sx BIOS have been extended to handle more
  7486.       than 1024 cylinders by placing bits 10 and 11 of the cylinder number
  7487.       into bits 6 and 7 of DH
  7488.     for XT-type controllers on an AT or higher, AH=0Fh should be called
  7489.       first
  7490.     the IBM AT BIOS and many other BIOSes use only the low four bits of
  7491.       DH (head number) since the WD-1003 controller which is the standard
  7492.       AT controller (and the controller that IDE emulates) only supports
  7493.       16 heads
  7494.     not all controller support sector types 20h and 40h
  7495. SeeAlso: AH=05h"FLOPPY",AH=06h"FIXED",AH=07h"FIXED",AH=0Fh,AH=18h,AH=1Ah
  7496. --------d-1305-------------------------------
  7497. INT 13 - Future Domain SCSI BIOS - SEND SCSI MODE SELECT COMMAND
  7498.     AH = 05h
  7499.     DL = hard drive ID
  7500.     ES:BX -> mode select data (see #0142)
  7501. Return: CF set on error
  7502.     CF clear if successful
  7503.     AH = status code (see #0140)
  7504. Notes:    this function can be called before AH=07h"SCSI" or AH=06h"SCSI" to
  7505.       format a SCSI disk with the desired parameters
  7506.     the mode select data below is from the SCSI-1 specification
  7507.     the TMC-950 does not support any Future Domain BIOS calls; instead,
  7508.       it provides a full CAM implementation (see INT 4F/AX=8100h)
  7509. SeeAlso: AH=06h"SCSI",AH=07h"SCSI",INT 4F/AX=8100h
  7510.  
  7511. Format of Future Domain SCSI mode select data:
  7512. Offset    Size    Description    (Table 0142)
  7513.  00h    BYTE    number of bytes of remaining data (12 + vendor unique length)
  7514.  01h    BYTE    reserved (0)
  7515.  02h    BYTE    medium type (0 for hard disk)
  7516.  03h    BYTE    reserved (0)
  7517.  04h    BYTE    block descriptor length (8)
  7518.  05h    BYTE    density code (0 for hard disk)
  7519.  06h  3 BYTEs    (big-endian) number of blocks (000000h for entire disk)
  7520.  09h    BYTE    reserved (0)
  7521.  0Ah  3 BYTEs    (big-endian) block length (512 standard, or 256)
  7522.  0Dh    ???    vendor-specific parameter bytes (optional)
  7523. --------B-13057FSI324D-----------------------
  7524. INT 13 - 2M - FORMAT TRACK
  7525.     AX = 057Fh
  7526.     SI = 324Dh ("2M")
  7527.     CH = track number
  7528.     DH = head number
  7529.     DL = drive number
  7530.     ES:BX -> boot sector of future 2M diskette
  7531. Return:    CF set on error
  7532.     CF clear if successful
  7533.     AH = status (see #0140)
  7534. Program: 2M is a TSR developed by Ciriaco Garcia de Celis to support
  7535.       non standard diskettes with 820-902/1476-1558K (5.25 DD/HD)
  7536.       and 984-1066/1804-1886K/3608-3772K (3.5 DD/HD/ED)
  7537. Notes:    it is not necessary to call AH=17h/AH=18h first (will be ignored)
  7538.     the diskette format must always begin on cylinder 0 head 0
  7539.     the boot sector can be obtained from an already-formatted 2M diskette
  7540.       (by calling AH=02h with head number 00h in 2M v1.x and with head
  7541.       number 80h for 2M v2+)
  7542.     the installation check for 2M must search for a "CiriSOFT:2M:1.3" or
  7543.       "CiriSOFT:2MX:3.0" or similar (recomended ":2M:" or ":2MX:"
  7544.       substrings) in CiriSOFT TSR interface
  7545.     since 2M v2.0, the BOOT sector is emulated using the first physical
  7546.       sector of FAT2; the second-sixth physical sectors of FAT2 in HD or ED
  7547.       diskettes store the SuperBOOT code. To skip the FAT2 emulation (using
  7548.       FAT1) of 2M, in order to read the SuperBOOT code, head number must be
  7549.       80h-81h instead 0-1 (bit 7 active) in standard read/write functions.
  7550.       This lets diskcopy programs format 2M target diskettes copying
  7551.       SuperBOOT code. If the target diskette is already 2MF formatted
  7552.       (containing boot code) this trick it is not necessary.
  7553.     when using STV technology (offset 65 of boot sector equal to 1) it is
  7554.       necessary to write the full track before formatting (except track 0
  7555.       side 0) to complete the format and skip future CRC errors on read; in
  7556.       track 0 side 1 the head used must be 81h instead 1. Diskcopy programs
  7557.       may do a format-write-verify sequential phases to improve performance
  7558. SeeAlso: AH=05h"FLOPPY",INT 2F"CiriSOFT TSR interface"
  7559. --------B-1306-------------------------------
  7560. INT 13 - FIXED DISK - FORMAT TRACK AND SET BAD SECTOR FLAGS (XT,PORT)
  7561.     AH = 06h
  7562.     AL = interleave value
  7563.     CH = cylinder number (bits 8,9 in high bits of CL)
  7564.     CL = sector number
  7565.     DH = head
  7566.     DL = drive
  7567. Return: AH = status code (see #0140)
  7568. Note:    AWARD AT BIOS and AMI 386sx BIOS have been extended to handle more
  7569.       than 1024 cylinders by placing bits 10 and 11 of the cylinder number
  7570.       into bits 6 and 7 of DH
  7571. SeeAlso: AH=05h"FIXED",AH=07h"FIXED"
  7572. --------d-1306-------------------------------
  7573. INT 13 - Future Domain SCSI BIOS - FORMAT DRIVE WITH BAD SECTOR MAPPING
  7574.     AH = 06h
  7575.     AL = interleave
  7576.          (0 = default, 1 = consecutive sectors, 2 - 255 = vendor unique)
  7577.     DL = hard drive ID
  7578.     DH = defect list info (see #0143)
  7579.     ES:BX -> defect table A, B or C (see #0144,#0145,#0146)
  7580. Return: CF set on error
  7581.     CF clear if successful
  7582.     AH = status code (see #0140)
  7583. Notes:    block addresses must be in ascending order (for table B, cylinder is
  7584.       most significant, byte from index least significant; for table C,
  7585.       cylinder is most significant, sector number least significant)
  7586.     table B defect bytes from index of FFFFFFFFh indicates that the entire
  7587.       track shall be reassigned
  7588.     table C defect sector number of FFFFFFFFh indicates that the entire
  7589.       track shall be reassigned
  7590.     the TMC-950 does not support any Future Domain BIOS calls; instead,
  7591.       it provides a full CAM implementation (see INT 4F/AX=8100h)
  7592. SeeAlso: AH=05h"SCSI",AH=06h"FIXED",AH=07h"SCSI"
  7593.  
  7594. Bitfields for Future Domain SCSI defect list info:
  7595. Bit(s)    Description    (Table 0143)
  7596.  7-5    drive LUN
  7597.  4    defect list is available
  7598.  3    defect list is complete (erase drive's defect list)
  7599.  2-0    defect table format
  7600.     (000=use defect table A, 100=use defect table B,
  7601.      101=use defect table C)
  7602.  
  7603. Format of Future Domain SCSI defect table A:
  7604. Offset    Size    Description    (Table 0144)
  7605.  00h    WORD    number of bytes remaining in table
  7606.  02h    BYTE    reserved (0)
  7607.  03h    BYTE    reserved (0)
  7608.  04h    WORD    (big-endian) defect list length (4*number of defects)
  7609.  06h  4 DWORDs    (big-endian) defect block addresses
  7610.  
  7611. Format of Future Domain SCSI defect table B:
  7612. Offset    Size    Description    (Table 0145)
  7613.  00h    WORD    number of bytes remaining in table
  7614.  02h    BYTE    reserved (0)
  7615.  03h    BYTE    reserved (0)
  7616.  04h    WORD    (big-endian) defect list length (8*number of defects)
  7617.  06h 8N BYTEs    defect list [array] (see #0147)
  7618.  
  7619. Format of Future Domain SCSI defect table C:
  7620. Offset    Size    Description    (Table 0146)
  7621.  00h    WORD    number of bytes remaining in table
  7622.  02h    BYTE    reserved (0)
  7623.  03h    BYTE    reserved (0)
  7624.  04h    WORD    (big-endian) defect list length (8*number of defects)
  7625.  06h 8N BYTEs    defect list [array] (see #0147)
  7626.  
  7627. Format of Future Domain SCSI defect list entry:
  7628. Offset    Size    Description    (Table 0147)
  7629.  00h  3 BYTEs    (big-endian) cylinder number of defect
  7630.  03h    BYTE    head number of defect
  7631.  04h    DWORD    (big-endian) defect bytes from index
  7632. --------d-1306-------------------------------
  7633. INT 13 - Adaptec AHA-154xA/Bustek BT-542 BIOS - IDENTIFY SCSI DEVICES
  7634.     AH = 06h
  7635. Return: AH = status code (see #0140)
  7636.     CF clear if successful
  7637.         AL = first drive supported
  7638.         (80h nonconcurrent operation, 81h concurrent operation)
  7639.     CF set on error
  7640. Desc:    determine the number of the first supported SCSI drive
  7641. Note:    the return value is 80h when two SCSI drives are supported, 81h if
  7642.       only one SCSI drive is installed
  7643. SeeAlso: AH=08h
  7644. --------d-1306-------------------------------
  7645. INT 13 - V10DISK.SYS - READ DELETED SECTORS
  7646.     AH = 06h
  7647.     AL = number of sectors
  7648.     CH = cylinder number (bits 8,9 in high bits of CL)
  7649.     CL = sector number
  7650.     DH = head
  7651.     DL = drive
  7652.     ES:BX -> buffer
  7653. Return: AH = status code (see #0140)
  7654. Program: V10DISK.SYS is a driver for the Flagstaff Engineering 8" floppies
  7655. SeeAlso: AH=02h,AH=07h"V10DISK.SYS"
  7656. --------B-1307-------------------------------
  7657. INT 13 - FIXED DISK - FORMAT DRIVE STARTING AT GIVEN TRACK (XT,PORT)
  7658.     AH = 07h
  7659.     AL = interleave value (XT only)
  7660.     ES:BX = 512-byte format buffer (see AH=05h)
  7661.     CH = cylinder number (bits 8,9 in high bits of CL)
  7662.     CL = sector number
  7663.     DH = head
  7664.     DL = drive
  7665. Return: AH = status code (see #0140)
  7666. Note:    AWARD AT BIOS and AMI 386sx BIOS have been extended to handle more
  7667.       than 1024 cylinders by placing bits 10 and 11 of the cylinder number
  7668.       into bits 6 and 7 of DH
  7669. SeeAlso: AH=05h"FIXED",AH=06h"FIXED",AH=1Ah
  7670. --------d-1307-------------------------------
  7671. INT 13 - Future Domain SCSI BIOS - FORMAT DRIVE
  7672.     AH = 07h
  7673.     AL = interleave (0 = default, 1 = consecutive sectors,
  7674.            2 - 255 = vendor unique)
  7675.     DL = hard drive ID
  7676. Return: CF set on error
  7677.     CF clear if successful
  7678.     AH = status code (see #0140)
  7679. SeeAlso: AH=05h"SCSI",AH=06h"SCSI",AH=07h"FIXED"
  7680. --------d-1307-------------------------------
  7681. INT 13 - V10DISK.SYS - WRITE DELETED SECTORS
  7682.     AH = 07h
  7683.     AL = number of sectors
  7684.     CH = cylinder number (bits 8,9 in high bits of CL)
  7685.     CL = sector number
  7686.     DH = head
  7687.     DL = drive
  7688.     ES:BX -> buffer
  7689. Return: AH = status code (see #0140)
  7690. Program: V10DISK.SYS is a driver for the Flagstaff Engineering 8" floppies
  7691. SeeAlso: AH=03h,AH=06h"V10DISK.SYS"
  7692. --------B-1308-------------------------------
  7693. INT 13 - DISK - GET DRIVE PARAMETERS (PC,XT286,CONV,PS,ESDI,SCSI)
  7694.     AH = 08h
  7695.     DL = drive (bit 7 set for hard disk)
  7696. Return: CF set on error
  7697.         AH = status (07h) (see #0140)
  7698.     CF clear if successful
  7699.         AH = 00h
  7700.         BL = drive type (AT/PS2 floppies only) (see #0148)
  7701.         CH = low eight bits of maximum cylinder number
  7702.         CL = maximum sector number (bits 5-0)
  7703.          high two bits of maximum cylinder number (bits 7-6)
  7704.         DH = maximum head number
  7705.         DL = number of drives
  7706.         ES:DI -> drive parameter table (floppies only)
  7707. Notes:    may return successful even though specified drive is greater than the
  7708.       number of attached drives of that type (floppy/hard); check DL to
  7709.       ensure validity
  7710.     for systems predating the IBM AT, this call is only valid for hard
  7711.       disks, as it is implemented by the hard disk BIOS rather than the
  7712.       ROM BIOS
  7713.     Toshiba laptops with HardRAM return DL=02h when called with DL=80h,
  7714.       but fail on DL=81h.  The BIOS data at 40h:75h correctly reports 01h.
  7715.     may indicate only two drives present even if more are attached; to
  7716.       ensure a correct count, one can use AH=15h to scan through possible
  7717.       drives
  7718. SeeAlso: AH=06h"Adaptec",AH=13h"SyQuest",AH=48h,AH=15h,INT 1E,INT 41
  7719.  
  7720. (Table 0148)
  7721. Values for diskette drive type:
  7722.  01h    360K
  7723.  02h    1.2M
  7724.  03h    720K
  7725.  04h    1.44M
  7726.  05h    ??? (reportedly an obscure drive type shipped on some IBM machines)
  7727.     2.88M on some machines (at least AMI 486 BIOS)
  7728.  06h    2.88M
  7729. --------d-1308-------------------------------
  7730. INT 13 - V10DISK.SYS - SET FORMAT
  7731.     AH = 08h
  7732.     AL = number of sectors
  7733.     CH = cylinder number (bits 8,9 in high bits of CL)
  7734.     CL = sector number
  7735.     DH = head
  7736.     DL = drive
  7737. Return: AH = status code (see #0140)
  7738. Program: V10DISK.SYS is a driver for the Flagstaff Engineering 8" floppies
  7739. Note:    details not available
  7740. SeeAlso: AH=03h,AH=06h"V10DISK.SYS"
  7741. --------y-130800DLF0-------------------------
  7742. INT 13 - SecureDrive - INSTALLATION CHECK
  7743.     AX = 08000h
  7744.     DL = F0h
  7745. Return: AX = EDCBh for version 1.0-1.2
  7746.     AX = EDCCh for version 1.3
  7747.     CX = code segment
  7748.     DX = data address within code segment
  7749. Program: SecureDrive by Mike Ingle <mikeingle@delphi.com> allows you to create
  7750.       an encrypted partition on your harddisk.
  7751. --------B-1309-------------------------------
  7752. INT 13 - HARD DISK - INITIALIZE CONTROLLER WITH DRIVE PARAMETERS (AT,PS)
  7753.     AH = 09h
  7754.     DL = drive (80h for first, 81h for second)
  7755. Return: CF clear if successful
  7756.     CF set on error
  7757.     AH = status (see #0140)
  7758. Notes:    on the PC and XT, this function uses the parameter table pointed at by
  7759.       INT 41
  7760.     on the AT and later, this function uses the parameter table pointed at
  7761.       by INT 41 if DL=80h, and the parameter table pointed at by INT 46 if
  7762.       DL=81h
  7763. SeeAlso: INT 41,INT 46
  7764. --------B-130A-------------------------------
  7765. INT 13 - HARD DISK - READ LONG SECTOR(S) (AT and later)
  7766.     AH = 0Ah
  7767.     AL = number of sectors
  7768.     CH = low eight bits of cylinder number
  7769.     CL = sector number (bits 5-0)
  7770.          high two bits of cylinder number (bits 7-6)
  7771.     DH = head number
  7772.     DL = drive number (80h = first, 81h = second)
  7773.     ES:BX -> data buffer
  7774. Return: CF clear if successful
  7775.     CF set on error
  7776.     AH = status (see #0140)
  7777.     AL = number of sectors transferred
  7778. Notes:    this function reads in four to seven bytes of error-correcting code
  7779.       along with each sector's worth of information
  7780.     data errors are not automatically corrected, and the read is aborted
  7781.       after the first sector with an ECC error
  7782.     used for diagnostics only on PS/2 systems
  7783. SeeAlso: AH=02h,AH=0Bh
  7784. --------B-130B-------------------------------
  7785. INT 13 - HARD DISK - WRITE LONG SECTOR(S) (AT and later)
  7786.     AH = 0Bh
  7787.     AL = number of sectors
  7788.     CH = low eight bits of cylinder number
  7789.     CL = sector number (bits 5-0)
  7790.          high two bits of cylinder number (bits 7-6)
  7791.     DH = head number
  7792.     DL = drive number (80h = first, 81h = second)
  7793.     ES:BX -> data buffer
  7794. Return: CF clear if successful
  7795.     CF set on error
  7796.     AH = status (see #0140)
  7797.     AL = number of sectors transferred
  7798. Notes:    each sector's worth of data must be followed by four to seven bytes of
  7799.       error-correction information
  7800.     used for diagnostics only on PS/2 systems
  7801. SeeAlso: AH=03h,AH=0Ah
  7802. --------B-130C-------------------------------
  7803. INT 13 - HARD DISK - SEEK TO CYLINDER
  7804.     AH = 0Ch
  7805.     CH = low eight bits of cylinder number
  7806.     CL = sector number (bits 5-0)
  7807.         high two bits of cylinder number (bits 7-6)
  7808.     DH = head number
  7809.     DL = drive number (80h = first, 81h = second hard disk)
  7810. Return: CF set on error
  7811.     CF clear if successful
  7812.     AH = status (see #0140)
  7813. SeeAlso: AH=00h,AH=02h,AH=0Ah,AH=47h
  7814. --------d-130D-------------------------------
  7815. INT 13 - HARD DISK - RESET HARD DISKS
  7816.     AH = 0Dh
  7817.     DL = drive number (80h = first, 81h = second hard disk)
  7818. Return: CF set on error
  7819.     CF clear if successful
  7820.     AH = status (see #0140)
  7821. Notes:    reinitializes the hard disk controller, resets the specified drive's
  7822.       parameters, and recalibrates the drive's heads (seek to track 0)
  7823.     for PS/2 35SX, 35LS, 40SX and L40SX, as well as many other systems,
  7824.       both the master drive and the slave drive respond to the Reset
  7825.       function that is issued to either drive
  7826.     not for PS/2 ESDI drives
  7827. SeeAlso: AH=00h,INT 21/AH=0Dh
  7828. --------B-130E-------------------------------
  7829. INT 13 - HARD DISK - READ SECTOR BUFFER (XT only)
  7830.     AH = 0Eh
  7831.     DL = drive number (80h = first, 81h = second hard disk)
  7832.     ES:BX -> buffer
  7833. Return: CF set on error
  7834.     CF clear if successful
  7835.     AH = status code (see #0140)
  7836. Notes:    transfers controller's sector buffer.  No data is read from the drive
  7837.     used for diagnostics only on PS/2 systems
  7838. SeeAlso: AH=0Ah
  7839. --------B-130F-------------------------------
  7840. INT 13 - HARD DISK - WRITE SECTOR BUFFER (XT only)
  7841.     AH = 0Fh
  7842.     DL = drive number (80h = first, 81h = second hard disk)
  7843.     ES:BX -> buffer
  7844. Return: CF set on error
  7845.     CF clear if successful
  7846.     AH = status code (see #0140)
  7847. Notes:    does not write data to the drive
  7848.     should be called before formatting to initialize an XT-type
  7849.       controller's sector buffer
  7850.     used for diagnostics only on PS/2 systems
  7851. SeeAlso: AH=0Bh
  7852. --------B-1310-------------------------------
  7853. INT 13 - HARD DISK - CHECK IF DRIVE READY
  7854.     AH = 10h
  7855.     DL = drive number (80h = first, 81h = second hard disk)
  7856. Return: CF set on error
  7857.     CF clear if successful
  7858.     AH = status (see #0140 at AH=01h)
  7859. --------B-1311-------------------------------
  7860. INT 13 - HARD DISK - RECALIBRATE DRIVE
  7861.     AH = 11h
  7862.     DL = drive number (80h = first, 81h = second hard disk)
  7863. Return: CF set on error
  7864.     CF clear if successful
  7865.     AH = status (see #0140 at AH=01h)
  7866. Note:    causes hard disk controller to seek the specified drive to cylinder 0
  7867. SeeAlso: AH=00h,AH=0Ch,AH=19h"FIXED DISK"
  7868. --------B-1312-------------------------------
  7869. INT 13 - HARD DISK - CONTROLLER RAM DIAGNOSTIC (XT,PS)
  7870.     AH = 12h
  7871.     DL = drive number (80h = first, 81h = second hard disk)
  7872. Return: CF set on error
  7873.     CF clear if successful
  7874.     AH = status code (see #0140 at AH=01h)
  7875.     AL = 00h
  7876. SeeAlso: AH=13h,AH=14h
  7877. --------d-1312-------------------------------
  7878. INT 13 - Future Domain SCSI CONTROLLER - STOP SCSI DISK
  7879.     AH = 12h
  7880.     DL = hard drive ID
  7881. Return: CF set on error
  7882.     CF clear if successful
  7883.     AH = status code (see #0140 at AH=01h)
  7884. Notes:    available at least on the TMC-870 8-bit SCSI controller BIOS v6.0A
  7885.     if the given drive is a SCSI device, the SCSI Stop Unit command is sent
  7886.       and either "Disk prepared for shipping" or "Disk Stop command failed"
  7887.       is displayed
  7888.     the TMC-950 does not support any Future Domain BIOS calls; instead,
  7889.       it provides a full CAM implementation (see INT 4F/AX=8100h)
  7890. --------d-1312-------------------------------
  7891. INT 13 - SyQuest - START/STOP SCSI DISK
  7892.     AH = 12h
  7893.     AL = subfunction
  7894.         00h start disk
  7895.         01h stop disk
  7896.     CX = wait flag
  7897.         00h wait for ready
  7898.         01h don't wait for ready
  7899.     DL = hard drive ID (bit 7 for hard disks must be set)
  7900. Return: CF set on error
  7901.     CF clear if successful
  7902.     AH = status
  7903.         00h successful
  7904.         01h invalid function request
  7905.         80h timeout
  7906. SeeAlso: AH=12h"Future Domain",AH=13h"SyQuest"
  7907. --------B-1313-------------------------------
  7908. INT 13 - HARD DISK - DRIVE DIAGNOSTIC (XT,PS)
  7909.     AH = 13h
  7910.     DL = drive number (80h = first, 81h = second hard disk)
  7911. Return: CF set on error
  7912.     CF clear if successful
  7913.     AH = status code (see #0140 at AH=01h)
  7914.     AL = 00h
  7915. SeeAlso: AH=12h"HARD DISK",AH=14h"HARD DISK"
  7916. --------d-1313-------------------------------
  7917. INT 13 - SyQuest - READ DRIVE PARAMATERS (for DOS 5+)
  7918.     AH = 13h
  7919.     DL = drive ID (bit 7 set for hard disks)
  7920. Return: CF set on error
  7921.         AH = status (07h) (see #0140 at AH=01h)
  7922.     CF clear if successful
  7923.         AH = 00h
  7924.         BL = drive type (AT/PS2 floppies only) (see #0148)
  7925.         CH = low eight bits of maximum cylinder number
  7926.         CL = maximum sector number (bits 5-0)
  7927.          high two bits of maximum cylinder number (bits 7-6)
  7928.         DH = maximum head number
  7929.         DL = number of drives
  7930.         ES:DI -> drive parameter table (floppies only)
  7931. Notes:    the return values are identical to the standard INT 13/AH=08h, but the
  7932.       number of drives is not limited to 2, so 
  7933.     scanning all possible drive numbers with the Read DASD Type call
  7934.       (AH=15h) should generally be preferred to determine the number of
  7935.       drives attached to the system.
  7936. SeeAlso: AH=08h,AH=12h"SyQuest",AH=15h,AH=59h"SyQuest"
  7937. --------B-1314-------------------------------
  7938. INT 13 - HARD DISK - CONTROLLER INTERNAL DIAGNOSTIC
  7939.     AH = 14h
  7940. Return: CF set on error
  7941.     CF clear if successful
  7942.     AH = status code (see #0140 at AH=01h)
  7943.     AL = 00h
  7944. SeeAlso: AH=12h,AH=13h
  7945. --------B-1315-------------------------------
  7946. INT 13 - DISK - GET DISK TYPE (XT 1/10/86 or later,XT286,AT,PS)
  7947.     AH = 15h
  7948.     DL = drive number (bit 7 set for hard disk)
  7949. Return: CF clear if successful
  7950.         AH = type code
  7951.         00h no such drive
  7952.         01h floppy without change-line support
  7953.         02h floppy with change-line support
  7954.         03h hard disk
  7955.             CX:DX = number of 512-byte sectors
  7956.     CF set on error
  7957.         AH = status (see #0140 at AH=01h)
  7958. Note:    SyQuest can report type 01h or 02h for 'hard disks', since its media
  7959.       is removable
  7960. SeeAlso: AH=08h,AH=16h,AH=17h,AH=19h"SCSI"
  7961. --------B-1316-------------------------------
  7962. INT 13 - FLOPPY DISK - DETECT DISK CHANGE (XT 1/10/86 or later,XT286,AT,PS)
  7963.     AH = 16h
  7964.     DL = drive number (00h-7Fh)
  7965. Return: CF clear if change line inactive
  7966.         AH = 00h (disk not changed)
  7967.     CF set if change line active
  7968.         AH = status
  7969.         01h invalid command (SyQuest)
  7970.         06h change line active or not supported
  7971.         80h drive not ready or not present
  7972. Notes:    call AH=15h first to determine whether the drive supports a change
  7973.       line
  7974.     this call also clears the media-change status, so that a disk change
  7975.       is only reported once
  7976. SeeAlso: AH=15h,AH=49h
  7977. --------B-1317-------------------------------
  7978. INT 13 - FLOPPY DISK - SET DISK TYPE FOR FORMAT (AT,PS)
  7979.     AH = 17h
  7980.     AL = format type
  7981.         01h = 320/360K disk in 360K drive
  7982.         02h = 320/360K disk in 1.2M drive
  7983.         03h = 1.2M disk in 1.2M drive
  7984.         04h = 720K disk in 720K or 1.44M drive
  7985.     DL = drive number
  7986. Return: CF set on error
  7987.     CF clear if successful
  7988.     AH = status (see #0140 at AH=01h)
  7989. Note:    this function does not handle 1.44M drives; use AH=18h instead
  7990. SeeAlso: AH=15h,AH=18h
  7991. --------d-131700-----------------------------
  7992. INT 13 - Future Domain SCSI CONTROLLER - GET INQUIRY INFO FROM SCSI DEVICE
  7993.     AX = 1700h
  7994.     CL = length of buffer
  7995.     DL = hard drive ID
  7996.     ES:BX -> buffer for info (see #0149)
  7997. Return: CF clear if successful
  7998.         CH = number of bytes returned in buffer???
  7999.     CF set on error
  8000.         AH = status code (see #0140 at AH=01h)
  8001. Notes:    this function is not available with 8-bit controller ROM versions < 7.0
  8002.     information block bytes 5-n are vendor-specific in older SCSI devices
  8003.     the TMC-950 does not support any Future Domain BIOS calls; instead,
  8004.       it provides a full CAM implementation (see INT 4F/AX=8100h)
  8005. SeeAlso: AH=18h"SCSI",AH=1Bh"SCSI"
  8006.  
  8007. Format of Future Domain SCSI inquiry information block:
  8008. Offset    Size    Description    (Table 0149)
  8009.  00h    BYTE    device type
  8010.         bits 0-4: peripheral device type (see #0150)
  8011.         bits 5-7: peripheral qualifier (see #0151)
  8012.  01h    BYTE    device type modifier
  8013.         bits 0-6: device type modifier
  8014.         bit 7: removable medium
  8015.  02h    BYTE    SCSI version (see #0152)
  8016.  03h    BYTE    data format/capabilities (see #0153)
  8017.  04h    BYTE    additional data length (total remaining bytes)
  8018.  05h  2 BYTEs    reserved
  8019.  07h    BYTE    device capabilities (see #0154)
  8020.  08h  8 BYTEs    vendor identification (space-padded ASCII)
  8021.  10h  8 BYTEs    product identification (space-padded ASCII)
  8022.  20h  4 BYTEs    product revision level (space-padded ASCII)
  8023.  24h 20 BYTEs    vendor specific
  8024.  38h 40 BYTEs    reserved
  8025.  60h    var    vendor specific parameters
  8026.  
  8027. (Table 0150)
  8028. Values for Future Domain SCSI peripheral device type:
  8029.  00h    direct-access device (e.g., magnetic disk)
  8030.  01h    sequential-access device (e.g., magnetic tape)
  8031.  02h    printer device
  8032.  03h    processor device
  8033.  04h    write-once device (e.g., some optical disks)
  8034.  05h    CD-ROM device
  8035.  06h    scanner device
  8036.  07h    optical memory device (e.g., some optical disks)
  8037.  08h    medium changer device (e.g., jukeboxes)
  8038.  09h    communications device
  8039.  0Ah    (defined by ASC IT8)
  8040.  0Bh    (defined by ASC IT8)
  8041.  0Ch-1Eh reserved
  8042.  1Fh    unknown or no device type
  8043.  
  8044. (Table 0151)
  8045. Values for Future Domain SCSI peripheral qualifier:
  8046.  000b    device is currently connected to this logical unit and available
  8047.  001b    target is capable of supporting the specified peripheral, but the
  8048.       physical device is not currently connected to this logical unit
  8049.  010b    reserved
  8050.  011b    target can't support a physical device on this logical unit
  8051.  1xxb    vendor specific
  8052.  
  8053. Bitfields for Future Domain SCSI version:
  8054. Bit(s)    Description    (Table 0152)
  8055.  0-2    ANSI-approved version
  8056.     000 device might or might not comply to ANSI standard
  8057.     001 device complies to ANSI SCSI-1
  8058.     010 device complies to ANSI SCSI-2
  8059.     other reserved
  8060.  3-5    ECMA version
  8061.  6-7    ISO version
  8062.  
  8063. Bitfields for Future Domain SCSI data format/capabilities:
  8064. Bit(s)    Description    (Table 0153)
  8065.  0-2    response data format
  8066.     000 information block is as specified in SCSI-1
  8067.     001 information block is as specified in CCS
  8068.     010 information block is as specified in SCSI-2
  8069.     other reserved
  8070.  4-5    reserved
  8071.  6    terminate I/O process supported
  8072.  7    asynchronous event notification supported
  8073.  
  8074. Bitfields for Future Domain SCSI device capabilities:
  8075. Bit(s)    Description    (Table 0154)
  8076.  0    device responds to RESET with a hard RESET
  8077.  1    tagged command queuing supported
  8078.  2    reserved
  8079.  3    linked commands supported
  8080.  4    synchronous data transfer supported
  8081.  5    16-transfers supported
  8082.  6    32-transfers supported
  8083.  7    relative addressing supported
  8084. --------B-1318-------------------------------
  8085. INT 13 - DISK - SET MEDIA TYPE FOR FORMAT (AT model 3x9,XT2,XT286,PS)
  8086.     AH = 18h
  8087.     DL = drive number
  8088.     CH = lower 8 bits of highest cylinder number (number of cylinders - 1)
  8089.     CL = sectors per track (bits 0-5)
  8090.          top 2 bits of highest cylinder number (bits 6,7)
  8091. Return: AH = status
  8092.         00h requested combination supported
  8093.         01h function not available
  8094.         0Ch not supported or drive type unknown
  8095.         80h there is no disk in the drive
  8096.     ES:DI -> 11-byte parameter table (see #0572 at INT 1E)
  8097. SeeAlso: AH=05h,AH=07h,AH=17h
  8098. --------d-1318-------------------------------
  8099. INT 13 - Future Domain SCSI BIOS - GET SCSI CONTROLLER INFORMATION
  8100.     AH = 18h
  8101.     DL = hard drive ID
  8102. Return: CF set on error
  8103.         AH = status code (see #0140 at AH=01h)
  8104.     CF clear if successful
  8105.         AX = 4321h (magic number)
  8106.         CX = controller family code (see #0155)
  8107.         ---if family code=0200h
  8108.         DH = number of exclusively ROM-controlled SCSI devices
  8109.         DL = canonical SCSI device number for specified drive
  8110.         ---if family code <> 0200h
  8111.         BH = number of exclusively ROM-controlled SCSI devices
  8112.         BL = canonical SCSI device number for specified drive
  8113. Notes:    also sets an internal flag (non-resettable) which prevents some
  8114.       controller messages from being displayed, allows writes to
  8115.       removable devices (use caution!), and enables the INT 13 interface
  8116.       for more than one drive (i.e. DL >= 81h) in at least some ROM
  8117.       versions
  8118.     the TMC-950 does not support any Future Domain BIOS calls; instead,
  8119.       it provides a full CAM implementation (see INT 4F/AX=8100h)
  8120. SeeAlso: AH=05h"SCSI",AX=1700h"SCSI",AH=1Bh"SCSI",INT 4F/AX=8100h
  8121.  
  8122. (Table 0155)
  8123. Values for Future Domain SCSI controller family code:
  8124.  0200h    TMC-1680/? (ROM 3.0)
  8125.  0203h    TMC-1650/1660/1670/1680 (ROM 2.0)
  8126.  040Ah    TMC-820/830/840/850/860/870/875/880/885 (ROM <= 6.0A)
  8127.  050Dh    TMC-840/841/880/881 (ROM 5.2D)
  8128.  0700h    TMC-830/850/860/875/885 (ROM 7.0)
  8129. --------B-1319-------------------------------
  8130. INT 13 - FIXED DISK - PARK HEADS ON ESDI DRIVE (XT286,PS)
  8131.     AH = 19h
  8132.     DL = drive
  8133. Return: CF set on error
  8134.     CF clear if successful
  8135.     AH = status (see #0140 at AH=01h)
  8136. SeeAlso: AH=11h
  8137. --------d-1319-------------------------------
  8138. INT 13 - Future Domain SCSI CONTROLLER - REINITIALIZE DRIVE
  8139.     AH = 19h
  8140.     DL = hard drive ID
  8141. Return: CF set on error
  8142.         AH = status code (see #0140 at AH=01h)
  8143.     CF clear if successful
  8144.         AH = disk type (03h = fixed disk)
  8145.         CX:DX = number of 512-byte sectors
  8146. Notes:    sends SCSI Read Capacity command to get number of logical blocks and
  8147.       adjusts the result for 512-byte sectors
  8148.     displays either "Error in Read Capacity Command" or "nnn Bytes per
  8149.       sector" (nnn=256 or 512, the only sizes supported in the translation
  8150.       code)
  8151.     should probably be called when a removable device has its media changed
  8152.     returns the same values as AH=15h
  8153.     the TMC-950 does not support any Future Domain BIOS calls; instead,
  8154.       it provides a full CAM implementation (see INT 4F/AX=8100h)
  8155. SeeAlso: AH=15h,AH=1Ah,INT 4F/AX=8100h
  8156. --------d-131A-------------------------------
  8157. INT 13 - ESDI FIXED DISK - FORMAT UNIT (PS)
  8158.     AH = 1Ah
  8159.     AL = defect table entry count
  8160.     CL = format modifiers (see #0156)
  8161.     DL = drive (80h,81h)
  8162.     ES:BX -> defect table (see #0157), ignored if AL=00h
  8163. Return: CF set on error
  8164.     CF clear if successful
  8165.     AH = status (see #0140 at AH=01h)
  8166. Note:    if periodic interrupt selected, INT 15/AH=0Fh is called after each
  8167.       cylinder is formatted
  8168. SeeAlso: AH=07h,INT 15/AH=0Fh
  8169.  
  8170. Bitfields for ESDI format modifiers:
  8171. Bit(s)    Description    (Table 0156)
  8172.  4    generate periodic interrupt
  8173.  3    perform surface analysis
  8174.  2    update secondary defect map
  8175.  1    ignore secondary defect map
  8176.  0    ignore primary defect map
  8177.  
  8178. Format of defect table entry [array]:
  8179. Offset    Size    Description    (Table 0157)
  8180.  00h  3 BYTEs    relative sector address (little-endian)
  8181.  03h    BYTE    flags and defect count
  8182.         bit 7: last logical sector on track
  8183.         bit 6: first logical sector on track
  8184.         bit 5: last logical sector on cylinder
  8185.         bit 4: logical sectors are pushed onto next track
  8186.         bits 3-0: number of defects pushed from previous cylinder
  8187. --------d-131A-------------------------------
  8188. INT 13 - Future Domain SCSI CONTROLLER - GET SCSI PARTIAL MEDIUM CAPACITY
  8189.     AH = 1Ah
  8190.     CH = track (bits 8,9 in high bits of CL)
  8191.     CL = sector (01h to number of sectors/track for drive)
  8192.     DH = head
  8193.     DL = hard drive ID
  8194. Return: CF set on error
  8195.     AH = status code (see #0140 at AH=01h)
  8196.     CX:DX = logical block number of last quickly-accessible block after
  8197.         given block
  8198. Notes:    sends SCSI Read Capacity command with the PMI bit set to obtain the
  8199.       logical block address of the last block after which a substantial
  8200.       delay in data transfer will be encountered (usually the last block
  8201.       on the current cylinder).  No translation to 512 byte sectors is
  8202.       performed on the result if data is stored on the disk in other than
  8203.       512 byte sectors.
  8204.     the TMC-950 does not support any Future Domain BIOS calls; instead,
  8205.       it provides a full CAM implementation (see INT 4F/AX=8100h)
  8206. SeeAlso: AH=15h,AH=19h"SCSI"
  8207. --------d-131B-------------------------------
  8208. INT 13 - ESDI FIXED DISK - GET MANUFACTURING HEADER
  8209.     AH = 1Bh
  8210.     AL = number of sectors to read
  8211.     DL = drive
  8212.     ES:BX -> buffer for manufacturing header (defect list)
  8213. Return: CF set on error
  8214.     CF clear if successful
  8215.     AH = status
  8216. Note:    manufacturing header format (Defect Map Record format) can be found
  8217.       in IBM 70MB, 115MB Fixed Disk Drives Technical Reference
  8218.     the first sector read contains the manufacturing header with the number
  8219.       of defect entries and the beginning of the defect map; the remaining
  8220.       sectors contain the remainder of the defect map
  8221. --------d-131B-------------------------------
  8222. INT 13 - Future Domain SCSI CONTROLLER - GET POINTER TO SCSI DISK INFO BLOCK
  8223.     AH = 1Bh
  8224.     DL = hard drive ID
  8225. Return: CF set on error
  8226.         AH = status code (see #0140 at AH=01h)
  8227.     CF clear if successful
  8228.         ES:BX -> SCSI disk information block (see #0158)
  8229. Notes:    also sets a non-resettable flag which prevents some controller messages
  8230.       from being displayed
  8231.     the TMC-950 does not support any Future Domain BIOS calls; instead,
  8232.       it provides a full CAM implementation (see INT 4F/AX=8100h)
  8233. SeeAlso: AH=18h"SCSI",AH=1Ch"SCSI"
  8234.  
  8235. Format of Future Domain SCSI disk information block:
  8236. Offset    Size    Description    (Table 0158)
  8237.  00h    BYTE    drive physical information (see #0159)
  8238.  01h    WORD    translated number of cylinders
  8239.  03h    BYTE    translated number of heads
  8240.  04h    BYTE    translated number of sectors per track (17, 34, or 63)
  8241.  05h    BYTE    drive address
  8242.         bits 0-2: logical unit number
  8243.         bits 3-5: device number
  8244.  06h    BYTE    01h at initialization
  8245.  07h    BYTE    sense code byte 00h, or extended sense code byte 0Ch
  8246.  08h    BYTE    00h
  8247.  09h    BYTE    00h or extended sense code byte 02h (sense key)
  8248.  0Ah    BYTE    00h
  8249.  0Bh 10 BYTEs    copy of Command Descriptor Block (CDB)
  8250.  15h    DWORD    translated number of sectors on device
  8251.  
  8252. Bitfields for Future Domain SCSI device physical information:
  8253. Bit(s)    Description    (Table 0159)
  8254.  0    ???
  8255.  1    device uses parity
  8256.  2    256 bytes per sector instead of 512
  8257.  3    don't have capacity yet???
  8258.  4    disk is removable
  8259.  5    logical unit number is not present
  8260. --------d-131C-------------------------------
  8261. INT 13 - Future Domain SCSI CONTROLLER - GET POINTER TO FREE CONTROLLER RAM
  8262.     AH = 1Ch
  8263.     DL = hard drive ID (any valid SCSI hard disk)
  8264. Return: CF set on error
  8265.         AH = status code (see #0140 at AH=01h)
  8266.     CF clear if successful
  8267.         ES:BX -> first byte of free RAM on controller
  8268. Notes:    the Future Domain TMC-870 contains 1024 bytes of RAM at offsets 1800h
  8269.       to 1BFFh on-board the controller for storing drive information and
  8270.       controller status; ES:BX points to the first byte available for other
  8271.       uses
  8272.     ES contains the segment at which the controller resides; the
  8273.       controller's two memory-mapped I/O ports are at offsets 1C00h, 1E00h
  8274. SeeAlso: AH=1Bh"SCSI"
  8275. --------d-131C-------------------------------
  8276. INT 13 U - ESDI FIXED DISK - ???
  8277.     AH = 1Ch
  8278.     AL = subfunction (01h-06h)
  8279.     DL = drive (80h,81h)
  8280.     ???
  8281. Return: ???
  8282. Note:    these functions perform a controller command 0612h without DMA
  8283. --------d-131C08-----------------------------
  8284. INT 13 U - ESDI FIXED DISK - GET COMMAND COMPLETION STATUS
  8285.     AX = 1C08h
  8286.     DL = drive (80h,81h)
  8287.     ES:BX -> buffer for Command Complete Status Block (see #0160)
  8288. Return: CF set on error
  8289.     CF clear if successful
  8290.     AH = status (see #0140 at AH=01h)
  8291. SeeAlso: AX=1C09h,AX=1C0Ah
  8292.  
  8293. Format of ESDI Command Complete Status Block:
  8294. Offset    Size    Description    (Table 0160)
  8295.  00h    BYTE    07h
  8296.  01h    BYTE    size of block in words (07h)
  8297.  02h    BYTE    command error code (see #0161)
  8298.  03h    BYTE    command status code (see #0162)
  8299.  04h    BYTE    device error code, group 1 (see #0163)
  8300.  05h    BYTE    device error flags, group 2 (see #0164)
  8301.  06h    WORD    number of unprocessed sectors due to abnormal termination
  8302.  08h    DWORD    last Relative Sector Address processed by command
  8303.  0Ch    WORD    number of sectors corrected by ECC codes
  8304.  
  8305. (Table 0161)
  8306. Values for ESDI command error code:
  8307.  00h    successful
  8308.  01h    parameter invalid
  8309.  02h    unknown function
  8310.  03h    unsupported command
  8311.  04h    command cancelled
  8312.  05h    unknown function
  8313.  06h    controller diagnostics failed
  8314.  07h    formatting failed
  8315.  08h    format error in primary map
  8316.  09h    format error in secondary map
  8317.  0Ah    diagnostic failure during formatting
  8318.  0Bh    warning: secondary map too large during formatting
  8319.  0Ch    warning: non-zero defect
  8320.  0Dh    system checksum error during formatting
  8321.  0Eh    warning: incompatible device
  8322.  0Fh    warning: push table overflowed
  8323.  10h    warning: more than 15 sectors pushed to next cylinder
  8324.  11h    internal hardware error
  8325.  12h    warning: errors found while verifying sectors
  8326.  13h    invalid device
  8327.  FFh    device error
  8328.  
  8329. (Table 0162)
  8330. Values for ESDI command status code:
  8331.  01h    successful
  8332.  03h    successful after ECC
  8333.  05h    successful after retries
  8334.  06h    format partially completed
  8335.  07h    successful after ECC and retries
  8336.  08h    command completed with warning (see #0161)
  8337.  09h    abort complete
  8338.  0Ah    reset complete
  8339.  0Bh    data transfer ready (no status block)
  8340.  0Ch    command completed with failure (see #0163,#0164)
  8341.  0Dh    DMA error
  8342.  0Eh    command block error (see #0161)
  8343.  0Fh    bad attention code
  8344.  
  8345. (Table 0163)
  8346. Values for ESDI device error code, group 1:
  8347.  00h    successful
  8348.  01h    seek fault detected by device
  8349.  02h    interface fault
  8350.  03h    sector ID not found
  8351.  04h    disk not formatted
  8352.  05h    unrecoverable ECC error
  8353.  06h    ECC error in sector ID
  8354.  07h    invalid relative sector address
  8355.  08h    timeout
  8356.  09h    sector defective
  8357.  0Ah    disk changed (removable media)
  8358.  0Bh    selection error
  8359.  0Ch    write protected (removable media)
  8360.  0Dh    write fault
  8361.  0Eh    read fault
  8362.  0Fh    no index or sector pulse
  8363.  10h    device not ready
  8364.  11h    seek error detected by adapter
  8365.  12h    bad format
  8366.  13h    volume overflow
  8367.  14h    data address mark not found
  8368.  15h    sector ID not found
  8369.  16h    missing device configuration data
  8370.  17h    first/last relative sector flags missing
  8371.  18h    track empty
  8372.  81h    timeout while waiting for stop
  8373.  82h    timeout while waiting for end of data transfer
  8374.  84h    stopped awaiting data transfer during formatting
  8375.  85h    timeout while waiting for head switch
  8376.  86h    timeout while awaiting DMA completion
  8377.  
  8378. Bitfields for ESDI device error flags, group 2:
  8379. Bit(s)    Description    (Table 0164)
  8380.  7-5    unused
  8381.  4    ready
  8382.  3    selected
  8383.  2    write fault
  8384.  1    on track 0
  8385.  0    seek/command complete
  8386. --------d-131C09-----------------------------
  8387. INT 13 U - ESDI FIXED DISK - GET DEVICE STATUS
  8388.     AX = 1C09h
  8389.     DL = drive (80h,81h)
  8390.     ES:BX -> buffer for Device Status Block (see #0165)
  8391. Return: CF set on error
  8392.     CF clear if successful
  8393.     AH = status (see #0140 at AH=01h)
  8394. SeeAlso: AX=1C08h,AX=1C0Ah
  8395.  
  8396. Format of ESDI Device Status Block:
  8397. Offset    Size    Description    (Table 0165)
  8398.  00h    BYTE    08h
  8399.  01h    BYTE    number of words in block (09h)
  8400.  02h    BYTE    error flags
  8401.  03h    BYTE    unused
  8402.  04h    BYTE    command error code (see #0161)
  8403.  05h    BYTE    command status code (see #0162)
  8404.  06h    WORD    ESDI standard status
  8405.  08h  5 WORDs    ESDI vendor-specific status codes
  8406. --------d-131C0A-----------------------------
  8407. INT 13 U - ESDI FIXED DISK - GET DEVICE CONFIGURATION
  8408.     AX = 1C0Ah
  8409.     DL = drive (80h,81h)
  8410.     ES:BX -> buffer for Drive Configuration Status Block (see #0166)
  8411. Return: CF set on error
  8412.     CF clear if successful
  8413.     AH = status (see #0140 at AH=01h)
  8414. Note:    device configuration format can be found in IBM ESDI Fixed Disk Drive
  8415.       Adapter/A Technical Reference
  8416. SeeAlso: AX=1C08h,AX=1C0Bh,AX=1C0Ch
  8417.  
  8418. Format of ESDI Drive Configuration Status Block:
  8419. Offset    Size    Description    (Table 0166)
  8420.  00h    BYTE    09h
  8421.  01h    BYTE    number of words in block (06h)
  8422.  02h    BYTE    flags
  8423.  03h    BYTE    number of spare sectors per cylinder
  8424.  04h    DWORD    total number of usable sectors
  8425.  08h    WORD    total number of cylinders
  8426.  0Ah    BYTE    tracks per cylinder
  8427.  0Bh    BYTE    sectors per track
  8428. --------d-131C0B-----------------------------
  8429. INT 13 U - ESDI FIXED DISK - GET ADAPTER CONFIGURATION
  8430.     AX = 1C0Bh
  8431.     ES:BX -> buffer for Controller Configuration Status Block (see #0167)
  8432. Return: CF set on error
  8433.     CF clear if successful
  8434.     AH = status (see #0140 at AH=01h)
  8435. SeeAlso: AX=1C0Ch
  8436.  
  8437. Format of ESDI Controller Configuration Status Block:
  8438. Offset    Size    Description    (Table 0167)
  8439.  00h    BYTE    E9h
  8440.  01h    BYTE    number of words in block (06h)
  8441.  02h    WORD    unused (0000h)
  8442.  04h    DWORD    controller microcode revision level
  8443.  08h  2 WORDs    unused (0000h)
  8444. --------d-131C0C-----------------------------
  8445. INT 13 U - ESDI FIXED DISK - GET POS INFORMATION
  8446.     AX = 1C0Ch
  8447.     ES:BX -> buffer for POS Information Status Block (see #0168)
  8448. Return: CF set on error
  8449.     CF clear if successful
  8450.     AH = status (see #0140 at AH=01h)
  8451. SeeAlso: AX=1C0Bh
  8452.  
  8453. Format of ESDI POS Information Status Block:
  8454. Offset    Size    Description    (Table 0168)
  8455.  00h    BYTE    EAh
  8456.  01h    BYTE    number of words in block (05h)
  8457.  02h    WORD    magic value FFDDh
  8458.  04h    BYTE    POS register 3
  8459.  05h    BYTE    POS register 2
  8460.  06h    BYTE    POS register 5 (unused, FFh)
  8461.  07h    BYTE    POS register 4 (unused, FFh)
  8462.  08h    BYTE    POS register 7 (unused, FFh)
  8463.  09h    BYTE    POS register 6 (unused, FFh)
  8464. --------d-131C0D-----------------------------
  8465. INT 13 U - ESDI FIXED DISK - ???
  8466.     AX = 1C0Dh
  8467.     DL = drive (80h,81h)
  8468.     ???
  8469. Return: ???
  8470. Note:    invokes controller command 0614h without DMA
  8471. SeeAlso: AH=1Ch"ESDI",AX=1C0Fh
  8472. --------d-131C0E-----------------------------
  8473. INT 13 U - ESDI FIXED DISK - TRANSLATE RBA TO ABA
  8474.     AX = 1C0Eh
  8475.     CH = low 8 bits of cylinder number
  8476.     CL = sector number, high two bits of cylinder number in bits 6 and 7
  8477.     DH = head number
  8478.     DL = drive number (80h,81h)
  8479.     ES:BX -> ABA number
  8480. Return: CF set on error
  8481.     CF clear if successful
  8482.     AH = status (see #0140 at AH=01h)
  8483. Note:    ABA (absolute block address) format can be found in IBM ESDI Adapter
  8484.       Technical Reference by using its Device Configuration Status Block
  8485. --------d-131C0F-----------------------------
  8486. INT 13 U - ESDI FIXED DISK - ???
  8487.     AX = 1C0Fh
  8488.     DL = drive (80h,81h)
  8489.     ???
  8490. Return: ???
  8491. Note:    invokes controller command 0614h without DMA
  8492. SeeAlso: AH=1Ch"ESDI",AX=1C0Dh,AX=1C12h
  8493. --------d-131C12-----------------------------
  8494. INT 13 U - ESDI FIXED DISK - ???
  8495.     AX = 1C12h
  8496.     DL = drive (80h,81h)
  8497.     ???
  8498. Return: ???
  8499. Note:    invokes controller command 0612h without DMA
  8500. SeeAlso: AH=1Ch"ESDI",AX=1C0Fh
  8501. --------c-131D-------------------------------
  8502. INT 13 - IBMCACHE.SYS - CACHE STATUS
  8503.     AH = 1Dh
  8504.     AL = subfunction
  8505.         01h get status record
  8506.         DL = drive???
  8507.         Return: ES:BX -> status record (see #0169)
  8508.             CF set on error
  8509.                 AH = error code
  8510.         02h set cache status
  8511.         ES:BX -> status record (see #0169)
  8512.         DL = drive???
  8513.         Return: CF set on error
  8514.  
  8515. Format of IBMCACHE.SYS status record:
  8516. Offset    Size    Description    (Table 0169)
  8517.  00h    DWORD    total number of read requests
  8518.  04h    DWORD    total number of hits
  8519.  08h    DWORD    number of physical disk reads
  8520.  0Ch    DWORD    total number of sectors requested by physical disk reads
  8521.  10h  6 BYTEs    ???
  8522.  16h    DWORD    pointer to start of error list (see #0170)
  8523.  1Ah    DWORD    pointer to end of error list
  8524.  1Eh    WORD    ???
  8525.  20h    BYTE    using extended memory if nonzero
  8526.  21h    BYTE    ???
  8527.  22h  4 BYTEs    ASCII version number
  8528.  26h    WORD    cache size in KB
  8529.  28h    WORD    sectors per page
  8530.  
  8531. Format of IBMCACHE.SYS error list:
  8532. Offset    Size    Description    (Table 0170)
  8533.  00h    DWORD    relative block address of bad page
  8534.  04h    BYTE    drive
  8535.  05h    BYTE    sector bit-map
  8536.  06h    WORD    next error
  8537. --------d-131F-------------------------------
  8538. INT 13 - SyQuest - DOOR LATCH/DOOR BUTTON DETECT
  8539.     AH = 1Fh
  8540.     AL = subfunction
  8541.         00h allow media removal
  8542.         01h prevent media removal (lock door)
  8543.     DL = drive ID (bit 7 set for hard disks)
  8544. Return:    CF clear if successful
  8545.         AH = 00h
  8546.     CF set on error
  8547.         AH = error code
  8548.         00h successful
  8549.         01h invalid function request
  8550.         80h timeout
  8551.         DDh media change requested
  8552. SeeAlso: AH=12h"SyQuest",AH=13h"SyQuest",AH=59h"SyQuest"
  8553. --------d-1320-------------------------------
  8554. INT 13 - DISK - ??? (Western Digital "Super BIOS")
  8555.     AH = 20h
  8556.     ???
  8557. Return: ???
  8558. Notes:    returns some kind of status related to whether the drive contains its
  8559.       default media type
  8560.     QEMM v6.00 calls INT 13/AX=2000h/DL=81h in some cases
  8561. --------b-1320-------------------------------
  8562. INT 13 U - Compaq DESKPRO/i - GET CURRENT MEDIA FORMAT
  8563.     AH = 20h
  8564.     DL = drive number (00h,01h)
  8565. Return: CF clear if successful
  8566.         AL = media type (see #0171)
  8567.     CF set on error
  8568.         AH = error code
  8569.         31h no such drive
  8570.         32h incorrect drive type stored in CMOS
  8571. Note:    this function is supported by the 3/8/93 ROM BIOS, but only partially
  8572.       (AL is always 00h when successful) by the 8/3/93 version
  8573.  
  8574. (Table 0171)
  8575. Values for Compaq diskette media type:
  8576.  03h    720K
  8577.  04h    1.44M
  8578.  06h    2.88M
  8579.  0Ch    360K
  8580.  0Dh    1.2M
  8581.  0Eh    ???
  8582.  0Fh    ??? (1024-byte sectors)
  8583. --------c-1320-------------------------------
  8584. INT 13 u - QUICKCACHE II v4.20 - DISMOUNT
  8585.     AH = 20h
  8586.     AL = drive (00h = A:, etc. or 7Fh for all removable drives???
  8587.                    or FFh for all drives)
  8588. Return: AX = status (0000h successful)
  8589. Program: QUICKCACHE II is a shareware disk cache by P.R. Glassel and
  8590.       Associates, Inc.
  8591. Desc:    flush any dirty buffers for the specified drive(s) and then discard
  8592.       those sector buffers
  8593. SeeAlso: AH=21h"QUICKCACHE",AH=22h"QUICKCACHE",AH=28h
  8594. --------d-1321-------------------------------
  8595. INT 13 - HARD DISK - PS/1 and newer PS/2 - READ MULTIPLE DISK SECTORS
  8596.     AH = 21h
  8597.     AL = number of sectors to write
  8598.     CH = low byte of 12-bit cylinder number
  8599.     CL = starting sector (bits 0-5) and bits 8-9 of cylinder (bits 6-7)
  8600.     DH = head number (bits 0-5) and bits 10-11 of cylinder (bits 6-7)
  8601.     DL = drive number (80h,81h)
  8602.     ES:BX -> buffer for data to be read
  8603. Return: CF clear if successful
  8604.         ES:BX buffer filled
  8605.     CF set on error
  8606.     AH = status (see #0140 at AH=01h)
  8607. Desc:    read from the disk using the Multiple Block mode available on newer
  8608.       IDE drives and some hard disk controllers, which generates an
  8609.       interrupt only after the end of transferring a group of sectors
  8610.       rather than after each sector
  8611. Notes:    must call AH=24h"PS/1" before using this function
  8612.     input values in CL and DH are not range-checked
  8613.     the byte at address 0040h:0074h is set to the status of the operation
  8614. SeeAlso: AH=02h,AH=22h"PS/1",AH=23h"PS/1",AH=24h"PS/1"
  8615. --------c-1321-------------------------------
  8616. INT 13 u - QUICKCACHE II v4.20 - FLUSH CACHE
  8617.     AH = 21h
  8618. Return: AX = status (0000h successful)
  8619. Desc:    immediately write all dirty sectors back to disk
  8620. SeeAlso: AH=25h"QUICKCACHE",AH=2Eh,AH=2Fh
  8621. --------d-1322-------------------------------
  8622. INT 13 - HARD DISK - PS/1 and newer PS/2 - WRITE MULTIPLE DISK SECTORS
  8623.     AH = 22h
  8624.     AL = number of sectors to write
  8625.     CH = low byte of 12-bit cylinder number
  8626.     CL = starting sector (bits 0-5) and bits 8-9 of cylinder (bits 6-7)
  8627.     DH = head number (bits 0-5) and bits 10-11 of cylinder (bits 6-7)
  8628.     DL = drive number (80h,81h)
  8629.     ES:BX -> buffer containing data to be written
  8630. Return: CF clear if successful
  8631.     CF set on error
  8632.     AH = status (see #0140 at AH=01h)
  8633. Desc:    write to the disk using the Multiple Block mode available on newer
  8634.       IDE drives and some hard disk controllers, which generates an
  8635.       interrupt only after the end of transferring a group of sectors
  8636.       rather than after each sector
  8637. Notes:    must call AH=24h"PS/1" before using this function
  8638.     input values in CL and DH are not range-checked
  8639.     the byte at address 0040h:0074h is set to the status of the operation
  8640. SeeAlso: AH=03h,AH=21h"PS/1",AH=23h"PS/1",AH=24h"PS/1"
  8641. --------c-1322-------------------------------
  8642. INT 13 u - QUICKCACHE II v4.20 - ENABLE/DISABLE CACHE
  8643.     AH = 22h
  8644.     AL = new state (00h disabled, 01h enabled)
  8645. Return: AX = status (0000h successful)
  8646. Note:    enables/disables caching of all drives
  8647. SeeAlso: AH=2Ch,AH=2Dh,AH=32h,AH=33h,AH=A3h,AH=A4h
  8648. --------d-1323-------------------------------
  8649. INT 13 U - HARD DISK - PS/1 and newer PS/2 - SET CONTROLLER FEATURES REGISTER
  8650.     AH = 23h
  8651.     AL = feature number (see #0172)
  8652.     DL = drive number (80h,81h)
  8653.     ???
  8654. Return: CF clear if successful
  8655.     CF set on error
  8656.     AH = status (see #0140 at AH=01h)
  8657. SeeAlso: AH=21h"PS/1",AH=22h"PS/1",AH=24h"PS/1",AH=25h"PS/1"
  8658.  
  8659. (Table 0172)
  8660. Values for PS/1 hard disk feature number:
  8661.  01h    select 8-bit data transfers instead of 16-bit
  8662.  02h    enable write cache
  8663.  22h    Write Same, user-specified area
  8664.  33h    disable retries
  8665.  44h    set number of ECC bytes for read long/write long (see AH=0Ah,AH=0Bh)
  8666.  54h    set cache segments
  8667.  55h    disable lookahead
  8668.  66h    disable reverting to power-on defaults
  8669.  77h    disable error correctioni
  8670.  81h    select 16-bit data transfers (default)
  8671.  82h    disable write cache
  8672.  88h    enable error correction (default)
  8673.  99h    enable retries (default)
  8674.  AAh    enable lookahead
  8675.  BBh    set ECC length for read long/write long to four bytes
  8676.  CCh    enable reverting to power-on defaults
  8677.  DDh    Write Same, entire disk
  8678. --------c-1323-------------------------------
  8679. INT 13 U - QUICKCACHE II v4.20 - GET ??? ADDRESS
  8680.     AH = 23h
  8681. Return: AX = status (0000h successful)
  8682.     ES = segment of ??? data
  8683. --------d-1324-------------------------------
  8684. INT 13 - HARD DISK - PS/1 and newer PS/2 - SET MULTIPLE MODE
  8685.     AH = 24h
  8686.     AL = number of sectors per block (2,4,8,16)
  8687.     DL = drive number (80h,81h)
  8688. Return: CF clear if successful
  8689.     CF set onerror
  8690.     AH = status (see #0140 at AH=01h)
  8691. Desc:    specify how many sectors the controller should transfer as a group
  8692.       between operation-complete interrupts when using the Read Multiple
  8693.       and Write Multiple functions (AH=21h,AH=22h)
  8694. Notes:    set the number of sectors to 0 to disable multiple-transfer mode
  8695.     the maximum value for the block size depends on the fixed disk
  8696.       drive type.  The value is stored in byte 15h of the fixed disk
  8697.       drive parameter table that is created by POST.
  8698.     the byte at address 0040h:0074h is set to status of operation.
  8699. SeeAlso: AH=21h"PS/1",AH=22h"PS/1",AH=23h"PS/1",AH=25h"PS/1"
  8700. --------c-1324-------------------------------
  8701. INT 13 u - QUICKCACHE II v4.20 - SET SECTORS
  8702.     AH = 24h
  8703.     BX = new number of sector buffers in cache
  8704. Return: AX = status
  8705.         0000h successful
  8706.         0001h failed--size adjusted
  8707.         8000h cache cannot be resized while enabled
  8708. SeeAlso: AH=36h
  8709. --------d-1325-------------------------------
  8710. INT 13 - HARD DISK - PS/1 and newer PS/2 - IDENTIFY DRIVE
  8711.     AH = 25h
  8712.     DL = drive number (80h,81h)
  8713.     ES:BX-> 512 byte buffer for reply packet
  8714. Return:    CF clear if successful
  8715.     CF set on error
  8716.     AH = status (see #0140 at AH=01h)
  8717.     buffer filled with ATA/IDE-style drive information block (see #0173)
  8718. Desc:    retrieves the 256 words of drive data stored on an IDE hard disk
  8719. Note:    the byte at address 0040h:0074h is set to the status of the operation
  8720. SeeAlso: AH=23h"PS/1"
  8721.  
  8722. Format of drive information block:
  8723. Offset    Size    Description    (Table 0173)
  8724.  00h    WORD    general drive configuration (see #0174)
  8725.  02h    WORD    number of cylinders
  8726.  04h    WORD    reserved
  8727.  06h    WORD    number of heads
  8728.  08h    WORD    number of unformatted bytes per track
  8729.  0Ah    WORD    number of unformatted bytes per sector
  8730.  0Ch    WORD    number of sectors per track
  8731.  0Eh  6 BYTEs    vendor unique
  8732.  14h 20 BYTEs    serial number in ASCII, 0000h=not specified)
  8733.  28h    WORD    buffer type
  8734.  2Ah    WORD    buffer size in 512 byte increments (0000h=not specified)
  8735.  2Ch    WORD    number of ECC bytes passed on Read/Write Long cmds
  8736.         0000h = not specified
  8737.  2Eh  8 BYTEs    firmware revision in ASCII, 0000h=not specified
  8738.  36h 40 BYTEs    model number in ASCII, 0000h=not specified
  8739.  5Eh    WORD    bits 15-8  Vendor Unique
  8740.         bits 7-0  00h = Read/Write Multiple commands not implemented
  8741.               xxh = Maximum number of sectors that can be
  8742.               transferred per interrupt on Read and Write
  8743.               Multiple commands
  8744.  60h    WORD    0000h = cannot perform doubleword I/O
  8745.         0001h = can perform doubleword I/O
  8746.  62h    WORD    capabilities
  8747.         bit 15-9  0=reserved
  8748.         bit 8  1=DMA Supported
  8749.         bit 7-0     Vendor Unique
  8750.  64h    WORD    reserved
  8751.  66h    WORD    bits 15-8 PIO data transfer cycle timing mode
  8752.         bits 7-0  Vendor Unique
  8753.  68h    WORD    bits 15-8 DMA data transfer cycle timing mode
  8754.         bits 7-0  Vendor Unique
  8755.  6Ah    WORD    bits 15-1 reserved
  8756.         bit 0    1=the fields reported in tranlation mode are valid
  8757.             0=the fields reported in translation mode may be valid
  8758.  6Ch    WORD    number of current cylinders
  8759.  6Eh    WORD    number of current heads
  8760.  70h    WORD    number of current sectors per track
  8761.  72h    DWORD    current capacity in sectors
  8762.  76h    WORD    reserved
  8763.  78h 136 BYTEs    not defined by ATA spec 2.6
  8764. 100h 64 BYTEs    vendor unique
  8765. 140h 96 BYTEs    reserved
  8766. Note:    the above description is as in the ATA (AT Attachment) Specification.
  8767.  
  8768. Bitfields for general drive configuration:
  8769. Bit(s)    Description    (Table 0174)
  8770.  15    0   reserved for non-magnetic drives
  8771.  14    format speed tolerance gap required
  8772.  13    track offset option available
  8773.  12    data strobe offset option available
  8774.  11    rotational speed tolerance is > 0.5%
  8775.  10    disk transfer rate > 10 Mbs
  8776.  9    disk transfer rate > 5Mbs but <= 10Mbs
  8777.  8    disk transfer rate <= 5Mbs
  8778.  7    removable cartridge drive
  8779.  6    fixed drive
  8780.  5    spindle motor control option implemented
  8781.  4    head switch time > 15 usec
  8782.  3    not MFM encoded
  8783.  2    soft sectored
  8784.  1    hard sectored
  8785.  0    reserved (0)
  8786. --------c-1325-------------------------------
  8787. INT 13 u - QUICKCACHE II v4.20 - SET FLUSH INTERVAL
  8788.     AH = 25h
  8789.     BX = interval
  8790. Return: AX = status (0000h successful)
  8791. Desc:    specify how often the cache should write dirty buffers to disk when
  8792.       buffered writes are enabled
  8793. SeeAlso: AH=21h"QUICKCACHE",AH=2Ch,AH=2Eh
  8794. --------c-1326-------------------------------
  8795. INT 13 U - QUICKCACHE II v4.20 - UNINSTALL
  8796.     AH = 26h
  8797. Return: AX = status
  8798.         0000h successful
  8799.         0001h-00FFh interrupt vector which was hooked by another TSR
  8800. SeeAlso: AH=27h
  8801. --------c-1327--BX0000-----------------------
  8802. INT 13 u - QUICKCACHE II v4.20 - INSTALLATION CHECK
  8803.     AH = 27h
  8804.     BX = 0000h
  8805. Return: AX = 0000h if installed
  8806.     BX nonzero if installed
  8807.         BH = major version
  8808.         BL = binary minor version
  8809. Program: QUICKCACHE II is a shareware disk cache by P.R. Glassel and
  8810.       Associates, Inc.
  8811. SeeAlso: AH=26h,AH=A0h,INT 16/AX=FFA5h/CX=1111h
  8812. --------c-1328-------------------------------
  8813. INT 13 U - QUICKCACHE II v4.20 - SET AUTOMATIC DISMOUNT
  8814.     AH = 28h
  8815.     AL = new state (00h disabled, 01h enabled)
  8816. Return: AX = status (0000h successful)
  8817. SeeAlso: AH=20h"QUICKCACHE"
  8818. --------c-1329-------------------------------
  8819. INT 13 U - QUICKCACHE II v4.20 - NOP
  8820.     AH = 29h
  8821. Return: AX = 0000h
  8822. --------c-132A-------------------------------
  8823. INT 13 u - QUICKCACHE II v4.20 - SET BUFFER SIZE
  8824.     AH = 2Ah
  8825.     AL = buffer size (1-30)
  8826. Return: AX = status (0000h successful)
  8827. Desc:    specify the number of cache sector buffers to dedicate to buffered read
  8828.       and write operations
  8829. SeeAlso: AH=2Ch,AH=2Dh,AH=39h,AH=3Ah
  8830. --------c-132B-------------------------------
  8831. INT 13 U - QUICKCACHE II v4.20 - DRIVE ACCESS SOUNDS
  8832.     AH = 2Bh
  8833.     AL = new state (00h disabled, 01h enabled)
  8834. Return: AX = status (0000h successful)
  8835. --------c-132C-------------------------------
  8836. INT 13 u - QUICKCACHE II v4.20 - SET BUFFERED WRITES
  8837.     AH = 2Ch
  8838.     AL = new state (00h disabled, 01h enabled)
  8839. Return: AX = status (0000h successful)
  8840. Desc:    specify whether the cache should delay disk writes
  8841. Note:    this function enables or disables delayed writes for all drives; use
  8842.       AH=38h to change a single drive
  8843. SeeAlso: AH=25h"QUICKCACHE",AH=2Dh,AH=2Eh,AH=38h
  8844. --------c-132D-------------------------------
  8845. INT 13 u - QUICKCACHE II v4.20 - SET BUFFERED READ
  8846.     AH = 2Dh
  8847.     AL = new state (00h disabled, 01h enabled)
  8848. Return: AX = status (0000h successful)
  8849. Desc:    specify whether the cache should attempt to read ahead of actual
  8850.       requests
  8851. Note:    this function enables or disables read-ahead for all drives; use AH=37h
  8852.       to change a single drive
  8853. SeeAlso: AH=2Ch,AH=37h
  8854. --------c-132E-------------------------------
  8855. INT 13 u - QUICKCACHE II v4.20 - SET FLUSH COUNT
  8856.     AH = 2Eh
  8857.     BX = flush count
  8858. Return: AX = status (0000h successful)
  8859. Desc:    specify how many dirty sectors the cache should write after each flush
  8860.       interval (see AH=25h"QUICKCACHE") when buffered writes are enabled
  8861. SeeAlso: AH=21h"QUICKCACHE",AH=25h"QUICKCACHE",AH=2Ch
  8862. --------c-132F-------------------------------
  8863. INT 13 - QUICKCACHE II v4.20 - FORCE IMMEDIATE INCREMENTAL FLUSH
  8864.     AH = 2Fh
  8865. Return: AX = status (0000h successful)
  8866. Desc:    immediately flush up to "flushcount" dirty sectors to disk as if the
  8867.       flush interval had expired
  8868. SeeAlso: AH=21h"QUICKCACHE"
  8869. --------c-1330-------------------------------
  8870. INT 13 u - QUICKCACHE II v4.20 - GET INFO
  8871.     AH = 30h
  8872.     AL = what to get
  8873.         00h system info (see #0175)
  8874.         01h drive info (see #0176)
  8875.         02h access frequency (array of 30 words)
  8876.         03h drive index
  8877.         (array of 32 bytes indicating BIOS drive for DOS drive)
  8878.     DS:DX -> buffer for info
  8879. Return: AX = status (0000h successful, 8000h invalid info specifier)
  8880. Program: QUICKCACHE II is a shareware disk cache by P.R. Glassel and
  8881.       Associates, Inc.
  8882.  
  8883. Format of QUICKCACHE II system info:
  8884. Offset    Size    Description    (Table 0175)
  8885.  00h    BYTE    flag: cache enabled
  8886.  01h    BYTE    flag: buffered writes enabled
  8887.  02h    BYTE    flag: buffered reads enabled
  8888.  03h    BYTE    flag: sounds enabled
  8889.  04h    BYTE    flag: autodismount enabled
  8890.  05h    BYTE    ???
  8891.  06h    BYTE    flag: ???
  8892.  07h    BYTE    flag: ???
  8893.  08h    BYTE    flag: "em_assigned"
  8894.  09h    BYTE    flag: emulated EMS
  8895.  0Ah    BYTE    single sector bonus
  8896.  0Bh    BYTE    "sticky_max"
  8897.  0Ch    BYTE    write sector bonus
  8898.  0Dh    BYTE    bonus threshold
  8899.  0Eh    WORD    flush interval
  8900.  10h    WORD    flush count
  8901.  12h    WORD    reserve pool size
  8902.  14h    WORD    remaining space in reserve pool
  8903.  16h    WORD    required free memory
  8904.  18h    WORD    total cache sectors
  8905.  1Ah    WORD    dirty cache sectors
  8906.  1Ch    BYTE    trace buffer size
  8907.  1Dh    BYTE    reserved (padding)
  8908.  
  8909. Format of QUICKCACHE II drive info [16-element array, one element]:
  8910. Offset    Size    Description    (Table 0176)
  8911.  00h    BYTE    DOS drive number
  8912.  01h    BYTE    BIOS drive number
  8913.  02h    BYTE    maximum sector number
  8914.  03h    BYTE    maximum head number
  8915.  04h    BYTE    read buffer size
  8916.  05h    BYTE    write buffer size
  8917.  06h    BYTE    last status
  8918.  07h    BYTE    flag: enabled
  8919.  08h    BYTE    flag: buffered write enabled
  8920.  09h    BYTE    flag: buffered read enabled
  8921.  0Ah    BYTE    flag: in use (drive info is valid)
  8922.  0Bh    BYTE    flag: cylinder flush
  8923.  0Ch    BYTE    reserved (padding)
  8924.  0Dh    BYTE    sectors per track
  8925.  0Eh    WORD    sector size
  8926.  10h    WORD    sectors assigned
  8927.  12h    WORD    dirty sectors
  8928.  14h    WORD    reserved sectors
  8929.  16h    WORD    number of read errors
  8930.  18h    WORD    number of write errors
  8931.  1Ah    DWORD    "rio_count"
  8932.  1Eh    DWORD    number of cache misses
  8933.  22h    DWORD    "wio_count"
  8934.  26h    DWORD    "dio_count"
  8935. --------c-1331-------------------------------
  8936. INT 13 U - QUICKCACHE II v4.20 - RESERVE MEMORY
  8937.     AH = 31h
  8938.     BX = number of paragraphs of conventional memory to reserve for apps
  8939. Return: AX = status (0000h successful)
  8940. --------c-1332-------------------------------
  8941. INT 13 U - QUICKCACHE II v4.20 - ENABLE CACHING FOR SPECIFIC DRIVE
  8942.     AH = 32h
  8943.     AL = drive number (00h=A:)
  8944. Return: AX = status (0000h successful)
  8945. SeeAlso: AH=22h"QUICKCACHE",AH=33h
  8946. --------c-1333-------------------------------
  8947. INT 13 U - QUICKCACHE II v4.20 - DISABLE CACHING FOR SPECIFIC DRIVE
  8948.     AH = 33h
  8949.     AL = drive number (00h=A:)
  8950. Return: AX = status (0000h successful)
  8951. SeeAlso: AH=22h"QUICKCACHE",AH=32h
  8952. --------c-1334-------------------------------
  8953. INT 13 U - QUICKCACHE II v4.20 - SECTOR LOCKING
  8954.     AH = 34h
  8955.     AL = function
  8956.         00h end sector locking/unlocking
  8957.         01h lock all accessed sectors into cache
  8958.         02h unlock all accessed sectors and discard from cache
  8959. Return: AX = status (0000h successful)
  8960. SeeAlso: AH=20h"QUICKCACHE",AH=35h
  8961. --------c-1335-------------------------------
  8962. INT 13 U - QUICKCACHE II v4.20 - SET LOCK POOL SIZE
  8963.     AH = 35h
  8964.     BX = number of sectors in lock pool
  8965. Return: AX = status (0000h successful)
  8966. Desc:    specify the number of cache sector buffers which may be dedicated to
  8967.       data locked into the cache
  8968. SeeAlso: AH=34h
  8969. --------c-1336-------------------------------
  8970. INT 13 U - QUICKCACHE II v4.20 - SET TRACE BUFFER SIZE
  8971.     AH = 36h
  8972.     AL = new size of trace buffer
  8973. Return: AX = status (0000h successful)
  8974. Note:    called with AL=05h during an INT 13/AH=24h"QUICKCACHE" call
  8975. SeeAlso: AH=24h"QUICKCACHE"
  8976. --------c-1337-------------------------------
  8977. INT 13 U - QUICKCACHE II v4.20 - SET BUFFERED READS FOR SPECIFIC DRIVE
  8978.     AH = 37h
  8979.     AL = new state (00h disabled, else enabled)
  8980.     DL = drive number (00h = A:)
  8981. Return: AX = status (0000h successful)
  8982. SeeAlso: AH=2Dh,AH=38h
  8983. --------c-1338-------------------------------
  8984. INT 13 U - QUICKCACHE II v4.20 - SET BUFFERED WRITES FOR SPECIFIC DRIVE
  8985.     AH = 38h
  8986.     AL = new state (00h disabled, else enabled)
  8987.     DL = drive number (00h = A:)
  8988. Return: AX = status (0000h successful)
  8989. SeeAlso: AH=2Ch,AH=37h
  8990. --------c-1339-------------------------------
  8991. INT 13 U - QUICKCACHE II v4.20 - SET READ BUFFER SIZE FOR SPECIFIC DRIVE
  8992.     AH = 39h
  8993.     AL = new size of read buffer
  8994.     DL = drive number (00h = A:)
  8995. Return: AX = status (0000h successful)
  8996. Program: QUICKCACHE II is a shareware disk cache by P.R. Glassel and
  8997.       Associates, Inc.
  8998. SeeAlso: AH=2Ah,AH=3Ah
  8999. --------c-133A-------------------------------
  9000. INT 13 U - QUICKCACHE II v4.20 - SET WRITE BUFFER SIZE FOR SPECIFIC DRIVE
  9001.     AH = 3Ah
  9002.     AL = new size of write buffer
  9003.     DL = drive number (00h = A:)
  9004. Return: AX = status (0000h successful)
  9005. SeeAlso: AH=2Ah,AH=39h
  9006. --------c-133B-------------------------------
  9007. INT 13 U - QUICKCACHE II v4.20 - ENABLE/DISABLE ???
  9008.     AH = 3Bh
  9009.     AL = new state of ??? (01h enabled, else disabled)
  9010. Return: AX = status (0000h successful)
  9011. Note:    is affected by the flag reported at offset 05h of the system info
  9012.       returned by AH=30h, and sets the flag at offset 06h
  9013. SeeAlso: AH=3Ch
  9014. --------c-133C-------------------------------
  9015. INT 13 U - QUICKCACHE II v4.20 - ENABLE/DISABLE ???
  9016.     AH = 3Ch
  9017.     AL = new state of ??? (01h enabled, else disabled)
  9018. Return: AX = status (0000h successful)
  9019. Note:    is affected by the flag reported at offset 05h of the system info
  9020.       returned by AH=30h, and sets the flag at offset 07h
  9021. SeeAlso: AH=3Bh
  9022. --------c-133D-------------------------------
  9023. INT 13 U - QUICKCACHE II v4.20 - ENABLE/DISABLE CYLINDER FLUSH FOR DRIVE
  9024.     AH = 3Dh
  9025.     AL = new state (01h enabled, else disabled)
  9026.     DL = drive number (00h = A:)
  9027. Return: AX = status (0000h successful)
  9028. --------c-133E-------------------------------
  9029. INT 13 U - QUICKCACHE II v4.20 - SET SINGLE-SECTOR BONUS
  9030.     AH = 3Eh
  9031.     AL = new value for bonus
  9032. Return: AX = status (0000h successful)
  9033. Desc:    specify the bonus score to give to single-sector transfers in order to
  9034.       keep those sectors in the cache longer
  9035. --------c-133F-------------------------------
  9036. INT 13 U - QUICKCACHE II v4.20 - SET BONUS THRESHOLD
  9037.     AH = 3Fh
  9038.     AL = new value for bonus threshold
  9039. Return: AX = status (0000h successful)
  9040. --------!---Section--------------------------
  9041.